HomeSort by relevance Sort by last modified time
    Searched refs:os2Table (Results 1 - 6 of 6) sorted by null

  /external/skia/src/ports/
SkTypeface_win_dw.cpp 517 AutoTDWriteTable<SkOTTableOS2> os2Table(fDWriteFontFace.get());
518 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) {
522 SkOTUtils::SetAdvancedTypefaceFlags(os2Table->version.v4.fsType, info.get());
540 if (os2Table->version.v0.fsSelection.field.Italic) {
545 SerifStyle serifStyle = os2Table->version.v0.panose.data.textAndDisplay.bSerifStyle;
546 if (SkPanose::FamilyType::TextAndDisplay == os2Table->version.v0.panose.bFamilyType) {
560 } else if (SkPanose::FamilyType::Script == os2Table->version.v0.panose.bFamilyType) {
SkFontHost_FreeType.cpp 611 TT_OS2* os2Table;
620 } else if (((os2Table = (TT_OS2*)FT_Get_Sfnt_Table(face, ft_sfnt_os2)) != nullptr) &&
622 os2Table->version != 0xFFFF &&
623 os2Table->version >= 2)
625 info->fCapHeight = os2Table->sCapHeight;
    [all...]
  /external/skqp/src/ports/
SkTypeface_win_dw.cpp 517 AutoTDWriteTable<SkOTTableOS2> os2Table(fDWriteFontFace.get());
518 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) {
522 SkOTUtils::SetAdvancedTypefaceFlags(os2Table->version.v4.fsType, info.get());
540 if (os2Table->version.v0.fsSelection.field.Italic) {
545 SerifStyle serifStyle = os2Table->version.v0.panose.data.textAndDisplay.bSerifStyle;
546 if (SkPanose::FamilyType::TextAndDisplay == os2Table->version.v0.panose.bFamilyType) {
560 } else if (SkPanose::FamilyType::Script == os2Table->version.v0.panose.bFamilyType) {
SkFontHost_FreeType.cpp 611 TT_OS2* os2Table;
620 } else if (((os2Table = (TT_OS2*)FT_Get_Sfnt_Table(face, ft_sfnt_os2)) != nullptr) &&
622 os2Table->version != 0xFFFF &&
623 os2Table->version >= 2)
625 info->fCapHeight = os2Table->sCapHeight;
    [all...]
  /external/skia/tests/
TypefaceTest.cpp 49 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset);
50 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight);
52 os2Table->usWidthClass.value = static_cast<WidthType>(SkEndian_SwapBE16(width));
  /external/skqp/tests/
TypefaceTest.cpp 49 SkOTTableOS2_V0* os2Table = SkTAddOffset<SkOTTableOS2_V0>(sfntHeader, os2TableOffset);
50 os2Table->usWeightClass.value = SkEndian_SwapBE16(weight);
52 os2Table->usWidthClass.value = static_cast<WidthType>(SkEndian_SwapBE16(width));

Completed in 703 milliseconds