Home
last modified time | relevance | path

Searched refs:GET_METRIC_Y (Results 1 – 1 of 1) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-metrics.cc67 #define GET_METRIC_Y(TABLE, ATTR) \ in _hb_ot_metrics_get_position_common() macro
72 return (face->table.OS2->use_typo_metrics () && GET_METRIC_Y (OS2, sTypoAscender)) || in _hb_ot_metrics_get_position_common()
73 GET_METRIC_Y (hhea, ascender); in _hb_ot_metrics_get_position_common()
75 return (face->table.OS2->use_typo_metrics () && GET_METRIC_Y (OS2, sTypoDescender)) || in _hb_ot_metrics_get_position_common()
76 GET_METRIC_Y (hhea, descender); in _hb_ot_metrics_get_position_common()
78 return (face->table.OS2->use_typo_metrics () && GET_METRIC_Y (OS2, sTypoLineGap)) || in _hb_ot_metrics_get_position_common()
79 GET_METRIC_Y (hhea, lineGap); in _hb_ot_metrics_get_position_common()
83 #undef GET_METRIC_Y in _hb_ot_metrics_get_position_common()
144 #define GET_METRIC_Y(TABLE, ATTR) \ in hb_ot_metrics_get_position() macro
147 case HB_OT_METRICS_TAG_HORIZONTAL_CLIPPING_ASCENT: return GET_METRIC_Y (OS2, usWinAscent); in hb_ot_metrics_get_position()
[all …]