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.cpp12 struct SkSFNTHeader { struct
28 SkSFNTHeader fSingle; argument
89 if (!read(stream, header, sizeof(SkSFNTHeader))) { in count_tables()
96 *offsetToDir = offset + sizeof(SkSFNTHeader); in count_tables()
/external/skia/src/ports/
DSkFontHost_mac.cpp1677 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()
1679 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1681 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1683 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()
1685 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1691 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1709 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
1733 SkSFNTHeader* header = (SkSFNTHeader*)dataPtr; in onOpenStream()
1739 dataPtr += sizeof(SkSFNTHeader); in onOpenStream()
1742 SkSFNTHeader::TableDirectoryEntry* entry = (SkSFNTHeader::TableDirectoryEntry*)dataPtr; in onOpenStream()
[all …]
DSkFontHost_win.cpp2235 SkSFNTHeader header; in onGetTableTags()
2243 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2244 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/external/skia/gyp/
Dsfnt.gyp46 '../src/sfnt/SkSFNTHeader.h',
/external/skia/src/device/xps/
DSkXPSDevice.cpp409 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
411 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()
412 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()