Definition at line 108 of file SkFontStream.cpp.
◆ SfntHeader()
SfntHeader::SfntHeader |
( |
| ) |
|
|
inline |
◆ ~SfntHeader()
SfntHeader::~SfntHeader |
( |
| ) |
|
|
inline |
◆ init()
bool SfntHeader::init |
( |
SkStream * |
stream, |
|
|
int |
ttcIndex |
|
) |
| |
|
inline |
If it returns true, then fCount and fDir are properly initialized. Note: fDir will point to the raw array of SkSFNTDirEntry values, meaning they will still be in the file's native endianness (BE).
fDir will be automatically freed when this object is destroyed
Definition at line 118 of file SkFontStream.cpp.
118 {
120
121 size_t offsetToDir;
124 return false;
125 }
126
129 return false;
130 }
131
135 }
static bool read(SkStream *stream, void *buffer, size_t amount)
static bool skip(SkStream *stream, size_t amount)
static int count_tables(SkStream *stream, int ttcIndex, size_t *offsetToDir)
static void * sk_malloc_throw(size_t size)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ fCount
◆ fDir
The documentation for this struct was generated from the following file: