Searched refs:os2Table (Results 1 – 3 of 3) sorted by relevance
370 AutoTDWriteTable<SkOTTableOS2> os2Table(fDWriteFontFace.get()); in onGetAdvancedMetrics() local371 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()391 if (os2Table->version.v0.fsSelection.field.Italic) { in onGetAdvancedMetrics()396 SerifStyle serifStyle = os2Table->version.v0.panose.data.textAndDisplay.bSerifStyle; in onGetAdvancedMetrics()397 if (SkPanose::FamilyType::TextAndDisplay == os2Table->version.v0.panose.bFamilyType) { in onGetAdvancedMetrics()411 } else if (SkPanose::FamilyType::Script == os2Table->version.v0.panose.bFamilyType) { in onGetAdvancedMetrics()
588 TT_OS2* os2Table; in onGetAdvancedMetrics() local597 } else if (((os2Table = (TT_OS2*)FT_Get_Sfnt_Table(face, ft_sfnt_os2)) != nullptr) && in onGetAdvancedMetrics()599 os2Table->version != 0xFFFF && in onGetAdvancedMetrics()600 os2Table->version >= 2) in onGetAdvancedMetrics()602 info->fCapHeight = os2Table->sCapHeight; in onGetAdvancedMetrics()
47 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset); in TypefaceStyle_test() local48 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight); in TypefaceStyle_test()50 os2Table->usWidthClass.value = static_cast<WidthType>(SkEndian_SwapBE16(width)); in TypefaceStyle_test()