Searched refs:SkSFNTHeader (Results 1 – 7 of 7) sorted by relevance
39 SkSFNTHeader sfntHeader; in RenameFont()46 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()100 …SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()101 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()102 SkSFNTHeader::TableDirectoryEntry* headTableEntry = nullptr; in RenameFont()114 …SkSFNTHeader::TableDirectoryEntry* nameTableEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryE… in RenameFont()
20 struct SkSFNTHeader { struct67 static_assert(sizeof(SkSFNTHeader) == 12, "sizeof_SkSFNTHeader_not_12"); argument68 static_assert(sizeof(SkSFNTHeader::TableDirectoryEntry) == 16, "sizeof_SkSFNTHeader_TableDirectoryE…
13 struct SkSFNTHeader { struct29 SkSFNTHeader fSingle; argument90 if (!read(stream, header, sizeof(SkSFNTHeader))) { in count_tables()97 *offsetToDir = offset + sizeof(SkSFNTHeader); in count_tables()
31 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test()33 SkSFNTHeader::TableDirectoryEntry* tableEntry = in TypefaceStyle_test()34 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()35 SkSFNTHeader::TableDirectoryEntry* os2TableEntry = nullptr; in TypefaceStyle_test()
1584 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()1586 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()1588 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()1590 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()1592 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()1598 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()1616 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()1640 SkSFNTHeader* header = (SkSFNTHeader*)dataPtr; in onOpenStream()1646 dataPtr += sizeof(SkSFNTHeader); in onOpenStream()1649 SkSFNTHeader::TableDirectoryEntry* entry = (SkSFNTHeader::TableDirectoryEntry*)dataPtr; in onOpenStream()[all …]
2213 SkSFNTHeader header; in onGetTableTags()2221 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()2222 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
388 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()390 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()391 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()