Flutter Engine
The Flutter Engine
|
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontArguments.h"
#include "include/core/SkFontMgr.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/ports/SkFontMgr_android.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFixed.h"
#include "include/private/base/SkTArray.h"
#include "include/private/base/SkTDArray.h"
#include "src/core/SkOSFile.h"
#include "src/core/SkTHash.h"
#include "src/ports/SkFontMgr_android_parser.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include "tools/flags/CommandLineFlags.h"
#include "src/ports/SkTypeface_FreeType.h"
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <memory>
#include <string>
Go to the source code of this file.
Macros | |
#define | DEF_TEST_FONTATIONS(name, reporter) |
#define | DEF_TEST_SCANNERS(name, reporter) |
Functions | |
DECLARE_bool (verboseFontMgr) int CountFallbacks(SkTDArray< FontFamily * > fontFamilies) | |
static bool | isALPHA (int c) |
static bool | isDIGIT (int c) |
static void | ValidateLoadedFonts (SkTDArray< FontFamily * > fontFamilies, const char *firstExpectedFile, skiatest::Reporter *reporter) |
static void | DumpFiles (const FontFamily &fontFamily) |
static void | DumpLoadedFonts (SkTDArray< FontFamily * > fontFamilies, const char *label) |
template<int N, typename T > | |
static double | test_parse_fixed_r (skiatest::Reporter *reporter, double low, double high, double inc) |
static void | test_parse_fixed (skiatest::Reporter *reporter) |
DEF_TEST_SCANNERS (FontMgrAndroidParser, reporter) | |
DEF_TEST_SCANNERS (FontMgrAndroidLegacyMakeTypeface, reporter) | |
static bool | bitmap_compare (const SkBitmap &ref, const SkBitmap &test) |
DEF_TEST_SCANNERS (FontMgrAndroidSystemVariableTypeface, reporter) | |
DEF_TEST_SCANNERS (FontMgrAndroidSystemFallbackFor, reporter) | |
Definition at line 203 of file FontMgrAndroidParserTest.cpp.
Definition at line 206 of file FontMgrAndroidParserTest.cpp.
Definition at line 307 of file FontMgrAndroidParserTest.cpp.
DECLARE_bool | ( | verboseFontMgr | ) |
Definition at line 48 of file FontMgrAndroidParserTest.cpp.
DEF_TEST_SCANNERS | ( | FontMgrAndroidLegacyMakeTypeface | , |
reporter | |||
) |
Definition at line 285 of file FontMgrAndroidParserTest.cpp.
DEF_TEST_SCANNERS | ( | FontMgrAndroidParser | , |
reporter | |||
) |
Definition at line 212 of file FontMgrAndroidParserTest.cpp.
DEF_TEST_SCANNERS | ( | FontMgrAndroidSystemFallbackFor | , |
reporter | |||
) |
Definition at line 397 of file FontMgrAndroidParserTest.cpp.
DEF_TEST_SCANNERS | ( | FontMgrAndroidSystemVariableTypeface | , |
reporter | |||
) |
Definition at line 320 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 103 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 119 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 61 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 66 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 180 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 152 of file FontMgrAndroidParserTest.cpp.
|
static |
Definition at line 70 of file FontMgrAndroidParserTest.cpp.