Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Macros | Functions
FontNamesTest.cpp File Reference
#include "include/core/SkFontMgr.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkString.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/SkEndian.h"
#include "src/sfnt/SkOTTable_name.h"
#include "tests/Test.h"
#include "tools/flags/CommandLineFlags.h"
#include "tools/fonts/FontToolUtils.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>

Go to the source code of this file.

Macros

#define MAX_FAMILIES   1000
 

Functions

static DEFINE_bool (verboseFontNames, false, "verbose FontNames test.")
 
 DEF_TEST (FontNames, reporter)
 

Macro Definition Documentation

◆ MAX_FAMILIES

#define MAX_FAMILIES   1000

Definition at line 157 of file FontNamesTest.cpp.

Function Documentation

◆ DEF_TEST()

DEF_TEST ( FontNames  ,
reporter   
)

Definition at line 235 of file FontNamesTest.cpp.

235 {
236 test_synthetic(reporter, FLAGS_verboseFontNames);
237 test_systemfonts(reporter, FLAGS_verboseFontNames);
238}
reporter

◆ DEFINE_bool()

static DEFINE_bool ( verboseFontNames  ,
false  ,
"verbose FontNames test."   
)
static