Home
last modified time | relevance | path

Searched refs:fsSelection (Results 1 – 25 of 28) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-ot-os2-table.hh116 bool is_italic () const { return fsSelection & ITALIC; } in is_italic()
117 bool is_oblique () const { return fsSelection & OBLIQUE; } in is_oblique()
118 bool is_typo_metrics () const { return fsSelection & USE_TYPO_METRICS; } in is_typo_metrics()
219 { return (font_page_t) (version == 0 ? fsSelection & 0xFF00 : 0); } in get_font_page()
251 HBUINT16 fsSelection; member
/external/fonttools/Lib/fontTools/ttLib/tables/
DO_S_2f_2.py131 if (self.fsSelection & 1) and not (head.macStyle & 1<<1):
134 if (self.fsSelection & 1<<5) and not (head.macStyle & 1):
137 if (self.fsSelection & 1<<6) and (self.fsSelection & 1 + (1<<5)):
140 if self.version < 4 and self.fsSelection & 0b1110000000:
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp477 char fsSelection[16] = {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'}; in exportTtxCommon() local
478 fsSelection[0xF - 0x7] = '1'; // Use typo metrics in exportTtxCommon()
480 fsSelection[0xF - 0x5] = '1'; // Bold in exportTtxCommon()
485 fsSelection[0xF - 0x6] = '1'; // Not bold or italic, is regular in exportTtxCommon()
489 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
492 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
493 fsSelection[0xF - 0x9] = '1'; // Oblique in exportTtxCommon()
499 out->write(fsSelection, 8); in exportTtxCommon()
501 out->write(fsSelection + 8, 8); in exportTtxCommon()
/external/skia/tools/fonts/
DSkTestSVGTypeface.cpp475 char fsSelection[16] = {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'}; in exportTtxCommon() local
476 fsSelection[0xF - 0x7] = '1'; // Use typo metrics in exportTtxCommon()
478 fsSelection[0xF - 0x5] = '1'; // Bold in exportTtxCommon()
483 fsSelection[0xF - 0x6] = '1'; // Not bold or italic, is regular in exportTtxCommon()
487 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
490 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
491 fsSelection[0xF - 0x9] = '1'; // Oblique in exportTtxCommon()
497 out->write(fsSelection, 8); in exportTtxCommon()
499 out->write(fsSelection + 8, 8); in exportTtxCommon()
/external/skqp/src/sfnt/
DSkOTTable_OS_2_V0.h130 } fsSelection; member
DSkOTTable_OS_2_VA.h131 } fsSelection; member
DSkOTTable_OS_2_V1.h373 } fsSelection; member
DSkOTTable_OS_2_V2.h389 } fsSelection; member
DSkOTTable_OS_2_V3.h398 } fsSelection; member
DSkOTTable_OS_2_V4.h433 } fsSelection; member
/external/skia/src/sfnt/
DSkOTTable_OS_2_V0.h130 } fsSelection; member
DSkOTTable_OS_2_VA.h131 } fsSelection; member
DSkOTTable_OS_2_V1.h373 } fsSelection; member
DSkOTTable_OS_2_V2.h389 } fsSelection; member
DSkOTTable_OS_2_V3.h398 } fsSelection; member
DSkOTTable_OS_2_V4.h433 } fsSelection; member
/external/freetype/src/sfnt/
Dsfobjs.c1368 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face()
1463 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face()
1465 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face()
1468 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face()
Dttload.c1160 FT_FRAME_USHORT( fsSelection ), in tt_face_load_os2()
1249 FT_TRACE3(( "fsSelection: 0x%2x\n", os2->fsSelection )); in tt_face_load_os2()
/external/freetype/include/freetype/
Dtttables.h440 FT_UShort fsSelection; member
/external/skia/src/ports/
DSkTypeface_win_dw.cpp540 if (os2Table->version.v0.fsSelection.field.Italic) { in onGetAdvancedMetrics()
DSkFontHost_FreeType.cpp1419 if (os2 && os2->version != 0xFFFF && (os2->fsSelection & kUseTypoMetricsMask)) { in generateFontMetrics()
1867 if (SkToBool(os2->fsSelection & (1u << 9))) { in scanFont()
/external/fonttools/Lib/fontTools/
DfontBuilder.py287 fsSelection = 0,
/external/skqp/src/ports/
DSkTypeface_win_dw.cpp540 if (os2Table->version.v0.fsSelection.field.Italic) { in onGetAdvancedMetrics()
DSkFontHost_FreeType.cpp1419 if (os2 && os2->version != 0xFFFF && (os2->fsSelection & kUseTypoMetricsMask)) { in generateFontMetrics()
1867 if (SkToBool(os2->fsSelection & (1u << 9))) { in scanFont()
/external/fonttools/
DNEWS.rst948 - [OS/2] fix checking ``fsSelection`` bits matching ``head.macStyle``

12