|
string | GetFileContent (string filename) |
|
void | SetFileContents (string filename, string::iterator start, string::iterator end) |
|
bool | ReadTrueTypeFont (Buffer *file, const uint8_t *data, size_t len, Font *font) |
|
bool | ReadCollectionFont (Buffer *file, const uint8_t *data, size_t len, Font *font, std::map< uint32_t, Font::Table *> *all_tables) |
|
bool | ReadTrueTypeCollection (Buffer *file, const uint8_t *data, size_t len, FontCollection *font_collection) |
|
bool | ReadFont (const uint8_t *data, size_t len, Font *font) |
|
bool | ReadFontCollection (const uint8_t *data, size_t len, FontCollection *font_collection) |
|
size_t | FontFileSize (const Font &font) |
|
size_t | FontCollectionFileSize (const FontCollection &font_collection) |
|
bool | WriteFont (const Font &font, uint8_t *dst, size_t dst_size) |
|
bool | WriteTableRecord (const Font::Table *table, size_t *offset, uint8_t *dst, size_t dst_size) |
|
bool | WriteTable (const Font::Table &table, size_t *offset, uint8_t *dst, size_t dst_size) |
|
bool | WriteFont (const Font &font, size_t *offset, uint8_t *dst, size_t dst_size) |
|
bool | WriteFontCollection (const FontCollection &font_collection, uint8_t *dst, size_t dst_size) |
|
int | NumGlyphs (const Font &font) |
|
int | IndexFormat (const Font &font) |
|
bool | GetGlyphData (const Font &font, int glyph_index, const uint8_t **glyph_data, size_t *glyph_size) |
|
bool | RemoveDigitalSignature (Font *font) |
|
bool | ReadCompositeGlyphData (Buffer *buffer, Glyph *glyph) |
|
bool | ReadGlyph (const uint8_t *data, size_t len, Glyph *glyph) |
|
bool | StoreGlyph (const Glyph &glyph, uint8_t *dst, size_t *dst_size) |
|
bool | NormalizeGlyphs (Font *font) |
|
bool | NormalizeOffsets (Font *font) |
|
bool | FixChecksums (Font *font) |
|
bool | NormalizeWithoutFixingChecksums (Font *font) |
|
bool | NormalizeFont (Font *font) |
|
bool | NormalizeFontCollection (FontCollection *font_collection) |
|
int | Log2Floor (uint32 n) |
|
template<typename T > |
T | Round4 (T value) |
|
size_t | StoreU32 (uint8_t *dst, size_t offset, uint32_t x) |
|
size_t | Store16 (uint8_t *dst, size_t offset, int x) |
|
void | StoreU32 (uint32_t val, size_t *offset, uint8_t *dst) |
|
void | Store16 (int val, size_t *offset, uint8_t *dst) |
|
void | StoreBytes (const uint8_t *data, size_t len, size_t *offset, uint8_t *dst) |
|
bool | TransformGlyfAndLocaTables (Font *font) |
|
bool | TransformHmtxTable (Font *font) |
|
size_t | Size255UShort (uint16_t value) |
|
void | Write255UShort (std::vector< uint8_t > *out, int value) |
|
void | Store255UShort (int val, size_t *offset, uint8_t *dst) |
|
bool | Read255UShort (Buffer *buf, unsigned int *value) |
|
bool | ReadBase128 (Buffer *buf, uint32_t *value) |
|
size_t | Base128Size (size_t n) |
|
void | StoreBase128 (size_t len, size_t *offset, uint8_t *dst) |
|
uint32_t | ComputeULongSum (const uint8_t *buf, size_t size) |
|
size_t | CollectionHeaderSize (uint32_t header_version, uint32_t num_fonts) |
|
size_t | ComputeWOFF2FinalSize (const uint8_t *data, size_t length) |
|
bool | ConvertWOFF2ToTTF (uint8_t *result, size_t result_length, const uint8_t *data, size_t length) |
|
bool | ConvertWOFF2ToTTF (const uint8_t *data, size_t length, WOFF2Out *out) |
|
size_t | MaxWOFF2CompressedSize (const uint8_t *data, size_t length) |
|
size_t | MaxWOFF2CompressedSize (const uint8_t *data, size_t length, const string &extended_metadata) |
|
uint32_t | CompressedBufferSize (uint32_t original_size) |
|
bool | TransformFontCollection (FontCollection *font_collection) |
|
bool | ConvertTTFToWOFF2 (const uint8_t *data, size_t length, uint8_t *result, size_t *result_length) |
|
bool | ConvertTTFToWOFF2 (const uint8_t *data, size_t length, uint8_t *result, size_t *result_length, const WOFF2Params ¶ms) |
|