Home
last modified time | relevance | path

Searched refs:SkSFNTHeader (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/sfnt/
DSkOTUtils.cpp39 SkSFNTHeader sfntHeader; in RenameFont()
46 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()
100SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()
101 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
102 SkSFNTHeader::TableDirectoryEntry* headTableEntry = nullptr; in RenameFont()
114SkSFNTHeader::TableDirectoryEntry* nameTableEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryE… in RenameFont()
DSkSFNTHeader.h20 struct SkSFNTHeader { struct
67 static_assert(sizeof(SkSFNTHeader) == 12, "sizeof_SkSFNTHeader_not_12"); argument
68 static_assert(sizeof(SkSFNTHeader::TableDirectoryEntry) == 16, "sizeof_SkSFNTHeader_TableDirectoryE…
/external/skia/src/core/
DSkFontStream.cpp13 struct SkSFNTHeader { struct
29 SkSFNTHeader fSingle; argument
90 if (!read(stream, header, sizeof(SkSFNTHeader))) { in count_tables()
97 *offsetToDir = offset + sizeof(SkSFNTHeader); in count_tables()
/external/skia/tests/
DTypefaceTest.cpp31 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()
/external/skia/src/ports/
DSkFontHost_mac.cpp1584 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 …]
DSkFontHost_win.cpp2213 SkSFNTHeader header; in onGetTableTags()
2221 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2222 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/external/skia/src/xps/
DSkXPSDevice.cpp388 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()