Lines Matching defs:OS2
116 struct OS2 struct
118 static constexpr hb_tag_t tableTag = HB_OT_TAG_OS2;
120 … has_data () const { return usWeightClass || usWidthClass || usFirstCharIndex || usLastCharIndex; } in has_data()
122 const OS2V1Tail &v1 () const { return version >= 1 ? v1X : Null (OS2V1Tail); } in v1()
123 const OS2V2Tail &v2 () const { return version >= 2 ? v2X : Null (OS2V2Tail); } in v2()
124 const OS2V5Tail &v5 () const { return version >= 5 ? v5X : Null (OS2V5Tail); } in v5()
126 enum selection_flag_t {
139 bool is_italic () const { return fsSelection & ITALIC; } in is_italic()
140 bool is_oblique () const { return fsSelection & OBLIQUE; } in is_oblique()
141 bool use_typo_metrics () const { return fsSelection & USE_TYPO_METRICS; } in use_typo_metrics()
143 enum width_class_t {
155 float get_width () const in get_width()
171 float map_wdth_to_widthclass(float width) const in map_wdth_to_widthclass()
212 …signed calc_avg_char_width (const hb_hashmap_t<hb_codepoint_t, hb_pair_t<unsigned, int>>& hmtx_map) in calc_avg_char_width()
229 bool subset (hb_subset_context_t *c) const in subset()
298 void _update_unicode_ranges (const hb_set_t *codepoints, in _update_unicode_ranges()
333 enum font_page_t
344 font_page_t get_font_page () const in get_font_page()
347 unsigned get_size () const in get_size()
356 bool sanitize (hb_sanitize_context_t *c) const in sanitize()
368 HBUINT16 version;
369 HBINT16 xAvgCharWidth;
370 HBUINT16 usWeightClass;
371 HBUINT16 usWidthClass;
372 HBUINT16 fsType;
373 HBINT16 ySubscriptXSize;
374 HBINT16 ySubscriptYSize;
375 HBINT16 ySubscriptXOffset;
376 HBINT16 ySubscriptYOffset;
377 HBINT16 ySuperscriptXSize;
378 HBINT16 ySuperscriptYSize;
379 HBINT16 ySuperscriptXOffset;
380 HBINT16 ySuperscriptYOffset;
381 HBINT16 yStrikeoutSize;
382 HBINT16 yStrikeoutPosition;
383 HBINT16 sFamilyClass;
384 HBUINT8 panose[10];
385 HBUINT32 ulUnicodeRange[4];
386 Tag achVendID;
387 HBUINT16 fsSelection;
388 HBUINT16 usFirstCharIndex;
389 HBUINT16 usLastCharIndex;
390 HBINT16 sTypoAscender;
391 HBINT16 sTypoDescender;
392 HBINT16 sTypoLineGap;
393 HBUINT16 usWinAscent;
394 HBUINT16 usWinDescent;
395 OS2V1Tail v1X;
396 OS2V2Tail v2X;
397 OS2V5Tail v5X;