Searched refs:sfntHeader (Results 1 – 5 of 5) sorted by relevance
62 struct sfntHeader { struct150 const sfntHeader* sfnt = reinterpret_cast<const sfntHeader*>(fontData->data()); in renameFont()170 sfntHeader* rewrittenSfnt = reinterpret_cast<sfntHeader*>(data); in renameFont()
39 SkSFNTHeader sfntHeader; in RenameFont() local40 if (fontData->read(&sfntHeader, sizeof(sfntHeader)) < sizeof(sfntHeader)) { in RenameFont()47 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont()
392 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface() local393 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()395 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()
393 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface() local394 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in subset_typeface()396 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()