Home
last modified time | relevance | path

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

12

/external/harfbuzz_ng/src/
Dhb-ot-os2-table.hh137 bool is_italic () const { return fsSelection & ITALIC; } in is_italic()
138 bool is_oblique () const { return fsSelection & OBLIQUE; } in is_oblique()
139 bool use_typo_metrics () const { return fsSelection & USE_TYPO_METRICS; } in use_typo_metrics()
234 { return (font_page_t) (version == 0 ? fsSelection & 0xFF00 : 0); } in get_font_page()
275 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/
DTestSVGTypeface.cpp539 char fsSelection[16] = { in exportTtxCommon() local
541 fsSelection[0xF - 0x7] = '1'; // Use typo metrics in exportTtxCommon()
543 fsSelection[0xF - 0x5] = '1'; // Bold in exportTtxCommon()
548 fsSelection[0xF - 0x6] = '1'; // Not bold or italic, is regular in exportTtxCommon()
552 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
555 fsSelection[0xF - 0x0] = '1'; // Italic in exportTtxCommon()
556 fsSelection[0xF - 0x9] = '1'; // Oblique in exportTtxCommon()
561 out->write(fsSelection, 8); in exportTtxCommon()
563 out->write(fsSelection + 8, 8); in exportTtxCommon()
/external/freetype/src/sfnt/
Dsfobjs.c971 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face()
1066 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face()
1068 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face()
1071 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face()
1283 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 128 ) 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/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/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/freetype/include/freetype/
Dtttables.h404 FT_UShort fsSelection; member
/external/skia/src/ports/
DSkTypeface_win_dw.cpp496 if (os2Table->version.v0.fsSelection.field.Italic) { in onGetAdvancedMetrics()
DSkFontHost_FreeType.cpp1436 if (os2 && os2->version != 0xFFFF && (os2->fsSelection & kUseTypoMetricsMask)) { in generateFontMetrics()
1896 if (SkToBool(os2->fsSelection & (1u << 9))) { in scanFont()
/external/fonttools/Lib/fontTools/
DfontBuilder.py305 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/freetype/
DChangeLog705 [sfnt] Use typo metrics if OS/2 fsSelection USE_TYPO_METRICS bit is set.
707 If the `OS/2' table exists and `fsSelection' bit 7

12