• Home
  • Raw
  • Download

Lines Matching refs:GET_METRIC_Y

67 #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()
148 case HB_OT_METRICS_TAG_HORIZONTAL_CLIPPING_DESCENT: return GET_METRIC_Y (OS2, usWinDescent); in hb_ot_metrics_get_position()
149 case HB_OT_METRICS_TAG_HORIZONTAL_CARET_RISE: return GET_METRIC_Y (hhea, caretSlopeRise); in hb_ot_metrics_get_position()
153 case HB_OT_METRICS_TAG_VERTICAL_CARET_RUN: return GET_METRIC_Y (vhea, caretSlopeRun); in hb_ot_metrics_get_position()
154 case HB_OT_METRICS_TAG_VERTICAL_CARET_OFFSET: return GET_METRIC_Y (vhea, caretOffset); in hb_ot_metrics_get_position()
155 case HB_OT_METRICS_TAG_X_HEIGHT: return GET_METRIC_Y (OS2->v2 (), sxHeight); in hb_ot_metrics_get_position()
156 case HB_OT_METRICS_TAG_CAP_HEIGHT: return GET_METRIC_Y (OS2->v2 (), sCapHeight); in hb_ot_metrics_get_position()
158 case HB_OT_METRICS_TAG_SUBSCRIPT_EM_Y_SIZE: return GET_METRIC_Y (OS2, ySubscriptYSize); in hb_ot_metrics_get_position()
160 case HB_OT_METRICS_TAG_SUBSCRIPT_EM_Y_OFFSET: return GET_METRIC_Y (OS2, ySubscriptYOffset); in hb_ot_metrics_get_position()
162 case HB_OT_METRICS_TAG_SUPERSCRIPT_EM_Y_SIZE: return GET_METRIC_Y (OS2, ySuperscriptYSize); in hb_ot_metrics_get_position()
164 …case HB_OT_METRICS_TAG_SUPERSCRIPT_EM_Y_OFFSET: return GET_METRIC_Y (OS2, ySuperscriptYOffset); in hb_ot_metrics_get_position()
165 case HB_OT_METRICS_TAG_STRIKEOUT_SIZE: return GET_METRIC_Y (OS2, yStrikeoutSize); in hb_ot_metrics_get_position()
166 case HB_OT_METRICS_TAG_STRIKEOUT_OFFSET: return GET_METRIC_Y (OS2, yStrikeoutPosition); in hb_ot_metrics_get_position()
167 …case HB_OT_METRICS_TAG_UNDERLINE_SIZE: return GET_METRIC_Y (post->table, underlineThi… in hb_ot_metrics_get_position()
168 …case HB_OT_METRICS_TAG_UNDERLINE_OFFSET: return GET_METRIC_Y (post->table, underlinePos… in hb_ot_metrics_get_position()
171 case _HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER_OS2: return GET_METRIC_Y (OS2, sTypoAscender); in hb_ot_metrics_get_position()
172 case _HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER_HHEA: return GET_METRIC_Y (hhea, ascender); in hb_ot_metrics_get_position()
173 case _HB_OT_METRICS_TAG_HORIZONTAL_DESCENDER_OS2: return GET_METRIC_Y (OS2, sTypoDescender); in hb_ot_metrics_get_position()
174 case _HB_OT_METRICS_TAG_HORIZONTAL_DESCENDER_HHEA: return GET_METRIC_Y (hhea, descender); in hb_ot_metrics_get_position()
175 case _HB_OT_METRICS_TAG_HORIZONTAL_LINE_GAP_OS2: return GET_METRIC_Y (OS2, sTypoLineGap); in hb_ot_metrics_get_position()
176 case _HB_OT_METRICS_TAG_HORIZONTAL_LINE_GAP_HHEA: return GET_METRIC_Y (hhea, lineGap); in hb_ot_metrics_get_position()
177 #undef GET_METRIC_Y in hb_ot_metrics_get_position()