Home
last modified time | relevance | path

Searched refs:SkOTTableOS2 (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/sfnt/
DSkOTTable_OS_2.h20 struct SkOTTableOS2 { struct
25 inline static constexpr SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableOS2>::value; argument
45 static_assert(sizeof(SkOTTableOS2::Version::VA) == 68, "sizeof_SkOTTableOS2__VA_not_68"); argument
46 static_assert(sizeof(SkOTTableOS2::Version::V0) == 78, "sizeof_SkOTTableOS2__V0_not_78");
47 static_assert(sizeof(SkOTTableOS2::Version::V1) == 86, "sizeof_SkOTTableOS2__V1_not_86");
48 static_assert(sizeof(SkOTTableOS2::Version::V2) == 96, "sizeof_SkOTTableOS2__V2_not_96");
49 static_assert(sizeof(SkOTTableOS2::Version::V3) == 96, "sizeof_SkOTTableOS2__V3_not_96");
50 static_assert(sizeof(SkOTTableOS2::Version::V4) == 96, "sizeof_SkOTTableOS2__V4_not_96");
/third_party/skia/src/core/
DSkTypeface.cpp502 SkOTTableOS2::Version::V2::Type::Field fsType; in getAdvancedMetrics()
503 constexpr SkFontTableTag os2Tag = SkTEndian_SwapBE32(SkOTTableOS2::TAG); in getAdvancedMetrics()
504 constexpr size_t fsTypeOffset = offsetof(SkOTTableOS2::Version::V2, fsType); in getAdvancedMetrics()
/third_party/skia/src/utils/mac/
DSkCTFont.cpp341 if (SkOTTableOS2::TAG == tableEntry[tableEntryIndex].tag) { in SkCTFontGetDataFontWeightMapping()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp706 SkTEndian_SwapBE32(SkOTTableOS2::TAG), offsetof(SkOTTableOS2, version.v2.sxHeight), in generateFontMetrics()
DSkTypeface_win_dw.cpp540 AutoTDWriteTable<SkOTTableOS2> os2Table(fDWriteFontFace.get()); in onGetAdvancedMetrics()
DSkTypeface_mac_ct.cpp575 if (sizeof(fsType) == this->getTableData(SkTEndian_SwapBE32(SkOTTableOS2::TAG), in onGetAdvancedMetrics()
DSkFontHost_win.cpp1662 if (sizeof(fsType) == this->getTableData(SkTEndian_SwapBE32(SkOTTableOS2::TAG), in onGetAdvancedMetrics()
/third_party/skia/tests/
DTypefaceTest.cpp45 if (SkOTTableOS2::TAG == tableEntry[tableEntryIndex].tag) { in TypefaceStyle_test()