Flutter Engine
The Flutter Engine
|
#include "include/core/SkData.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkFontTypes.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkStream.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTemplates.h"
#include "src/base/SkAutoMalloc.h"
#include "src/base/SkEndian.h"
#include "src/core/SkFontStream.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include "tools/fonts/FontToolUtils.h"
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
Go to the source code of this file.
Classes | |
struct | TagSize |
Macros | |
#define | kFontTableTag_head SkSetFourByteTag('h', 'e', 'a', 'd') |
#define | kFontTableTag_hhea SkSetFourByteTag('h', 'h', 'e', 'a') |
#define | kFontTableTag_maxp SkSetFourByteTag('m', 'a', 'x', 'p') |
Functions | |
static void | test_unitsPerEm (skiatest::Reporter *reporter, const sk_sp< SkTypeface > &face) |
static void | test_countGlyphs (skiatest::Reporter *reporter, const sk_sp< SkTypeface > &face) |
static void | test_fontstream (skiatest::Reporter *reporter, SkStream *stream, int ttcIndex) |
static void | test_fontstream (skiatest::Reporter *reporter) |
static void | test_symbolfont (skiatest::Reporter *reporter) |
static void | test_tables (skiatest::Reporter *reporter, const sk_sp< SkTypeface > &face) |
static void | test_tables (skiatest::Reporter *reporter) |
static void | test_advances (skiatest::Reporter *reporter) |
DEF_TEST (FontHost, reporter) | |
Variables | |
static const struct TagSize | gKnownTableSizes [] |
#define kFontTableTag_head SkSetFourByteTag('h', 'e', 'a', 'd') |
Definition at line 37 of file FontHostTest.cpp.
#define kFontTableTag_hhea SkSetFourByteTag('h', 'h', 'e', 'a') |
Definition at line 38 of file FontHostTest.cpp.
#define kFontTableTag_maxp SkSetFourByteTag('m', 'a', 'x', 'p') |
Definition at line 39 of file FontHostTest.cpp.
DEF_TEST | ( | FontHost | , |
reporter | |||
) |
Definition at line 277 of file FontHostTest.cpp.
|
static |
Definition at line 214 of file FontHostTest.cpp.
|
static |
Definition at line 70 of file FontHostTest.cpp.
|
static |
Definition at line 113 of file FontHostTest.cpp.
|
static |
Definition at line 87 of file FontHostTest.cpp.
|
static |
Definition at line 130 of file FontHostTest.cpp.
|
static |
Definition at line 188 of file FontHostTest.cpp.
|
static |
Definition at line 142 of file FontHostTest.cpp.
|
static |
Definition at line 51 of file FontHostTest.cpp.
|
static |