Lines Matching defs:OS2
93 struct OS2 struct
95 enum { tableTag = HB_OT_TAG_OS2 };
97 bool has_data () const { return this != &Null (OS2); } in has_data()
99 const OS2V1Tail &v1 () const { return version >= 1 ? v1X : Null (OS2V1Tail); } in v1()
100 const OS2V2Tail &v2 () const { return version >= 2 ? v2X : Null (OS2V2Tail); } in v2()
101 const OS2V5Tail &v5 () const { return version >= 5 ? v5X : Null (OS2V5Tail); } in v5()
103 enum selection_flag_t {
116 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()
120 enum width_class_t {
132 float get_width () const in get_width()
148 bool subset (hb_subset_plan_t *plan) const in subset()
173 void _update_unicode_ranges (const hb_set_t *codepoints, in _update_unicode_ranges()
199 static void find_min_and_max_codepoint (const hb_set_t *codepoints, in find_min_and_max_codepoint()
207 enum font_page_t {
218 font_page_t get_font_page () const in get_font_page()
221 bool sanitize (hb_sanitize_context_t *c) const in sanitize()
232 HBUINT16 version;
233 HBINT16 xAvgCharWidth;
234 HBUINT16 usWeightClass;
235 HBUINT16 usWidthClass;
236 HBUINT16 fsType;
237 HBINT16 ySubscriptXSize;
238 HBINT16 ySubscriptYSize;
239 HBINT16 ySubscriptXOffset;
240 HBINT16 ySubscriptYOffset;
241 HBINT16 ySuperscriptXSize;
242 HBINT16 ySuperscriptYSize;
243 HBINT16 ySuperscriptXOffset;
244 HBINT16 ySuperscriptYOffset;
245 HBINT16 yStrikeoutSize;
246 HBINT16 yStrikeoutPosition;
247 HBINT16 sFamilyClass;
248 HBUINT8 panose[10];
249 HBUINT32 ulUnicodeRange[4];
250 Tag achVendID;
251 HBUINT16 fsSelection;
252 HBUINT16 usFirstCharIndex;
253 HBUINT16 usLastCharIndex;
254 HBINT16 sTypoAscender;
255 HBINT16 sTypoDescender;
256 HBINT16 sTypoLineGap;
257 HBUINT16 usWinAscent;
258 HBUINT16 usWinDescent;
259 OS2V1Tail v1X;
260 OS2V2Tail v2X;
261 OS2V5Tail v5X;