Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/sfnt/
DSkOTUtils.cpp42 SkSFNTHeader sfntHeader; in RenameFont()
49 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()
110SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()
111 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
112 SkSFNTHeader::TableDirectoryEntry* headTableEntry = nullptr; in RenameFont()
125SkSFNTHeader::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…
/third_party/skia/src/sfnt/
DSkOTUtils.cpp44 SkSFNTHeader sfntHeader; in RenameFont()
51 SkSFNTHeader::TableDirectoryEntry tableEntry; in RenameFont()
112SkSFNTHeader::TableDirectoryEntry* currentEntry = reinterpret_cast<SkSFNTHeader::TableDirectoryEnt… in RenameFont()
113 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
114 SkSFNTHeader::TableDirectoryEntry* headTableEntry = nullptr; in RenameFont()
127SkSFNTHeader::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…
DBUILD.bazel33 "SkSFNTHeader.h",
/third_party/skia/src/utils/mac/
DSkCTFont.cpp335 const SkSFNTHeader* sfntHeader = reinterpret_cast<const SkSFNTHeader*>(data->data()); in SkCTFontGetDataFontWeightMapping()
336 const SkSFNTHeader::TableDirectoryEntry* tableEntry = in SkCTFontGetDataFontWeightMapping()
337 SkTAfter<const SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in SkCTFontGetDataFontWeightMapping()
338 const SkSFNTHeader::TableDirectoryEntry* os2TableEntry = nullptr; in SkCTFontGetDataFontWeightMapping()
/third_party/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()
/third_party/flutter/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()
/third_party/skia/src/ports/
DSkTypeface_mac_ct.cpp656 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()
658 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
660 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
662 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()
664 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
691 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream()
703 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream()
710 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream()
721 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream()
727 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
[all …]
DSkFontHost_win.cpp2015 SkSFNTHeader header; in onGetTableTags()
2023 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2024 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/third_party/flutter/skia/tests/
DTypefaceTest.cpp39 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test()
41 SkSFNTHeader::TableDirectoryEntry* tableEntry = in TypefaceStyle_test()
42 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
43 SkSFNTHeader::TableDirectoryEntry* os2TableEntry = nullptr; in TypefaceStyle_test()
/third_party/skia/tests/
DTypefaceTest.cpp38 SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); in TypefaceStyle_test()
40 SkSFNTHeader::TableDirectoryEntry* tableEntry = in TypefaceStyle_test()
41 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in TypefaceStyle_test()
42 SkSFNTHeader::TableDirectoryEntry* os2TableEntry = nullptr; in TypefaceStyle_test()
/third_party/flutter/skia/src/ports/
DSkFontHost_mac.cpp1837 return SkSFNTHeader::fontType_OpenTypeCFF::TAG; in get_font_type_tag()
1839 return SkSFNTHeader::fontType_WindowsTrueType::TAG; in get_font_type_tag()
1841 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1843 return SkSFNTHeader::fontType_PostScript::TAG; in get_font_type_tag()
1845 return SkSFNTHeader::fontType_MacTrueType::TAG; in get_font_type_tag()
1872 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream()
1884 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream()
1891 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream()
1902 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream()
1908 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
[all …]
DSkFontHost_win.cpp2037 SkSFNTHeader header; in onGetTableTags()
2045 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2046 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/third_party/skia/src/xps/
DSkXPSDevice.cpp386 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
388 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()
389 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp390 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
392 SkSFNTHeader::TableDirectoryEntry* tableDirectory = in subset_typeface()
393 SkTAfter<SkSFNTHeader::TableDirectoryEntry>(sfntHeader); in subset_typeface()
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia2560 FILE: ../../../third_party/skia/src/sfnt/SkSFNTHeader.h