mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 00:11:14 +01:00
Fix compiler warning
This commit is contained in:
1 parent
1c06f05453
commit
ff9183045f
1 file changed
+5
-4
@@ -69,10 +69,11 @@ _hb_ot_metrics_get_position_common (hb_font_t *font,
|
|||||||
#else
|
#else
|
||||||
#define GET_VAR .0f
|
#define GET_VAR .0f
|
||||||
#endif
|
#endif
|
||||||
#define GET_METRIC_X(TABLE, ATTR) \
|
// Unused:
|
||||||
(face->table.TABLE->has_data () && \
|
//#define GET_METRIC_X(TABLE, ATTR) \
|
||||||
((void) (position && (*position = font->em_scalef_x (_fix_ascender_descender ( \
|
// (face->table.TABLE->has_data () && \
|
||||||
face->table.TABLE->ATTR + GET_VAR, metrics_tag)))), true))
|
// ((void) (position && (*position = font->em_scalef_x (_fix_ascender_descender ( \
|
||||||
|
// face->table.TABLE->ATTR + GET_VAR, metrics_tag)))), true))
|
||||||
#define GET_METRIC_Y(TABLE, ATTR) \
|
#define GET_METRIC_Y(TABLE, ATTR) \
|
||||||
(face->table.TABLE->has_data () && \
|
(face->table.TABLE->has_data () && \
|
||||||
((void) (position && (*position = font->em_scalef_y (_fix_ascender_descender ( \
|
((void) (position && (*position = font->em_scalef_y (_fix_ascender_descender ( \
|
||||||
|
|||||||
Reference in new issue
Block a user