mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +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
|
||||
#define GET_VAR .0f
|
||||
#endif
|
||||
#define GET_METRIC_X(TABLE, ATTR) \
|
||||
(face->table.TABLE->has_data () && \
|
||||
((void) (position && (*position = font->em_scalef_x (_fix_ascender_descender ( \
|
||||
face->table.TABLE->ATTR + GET_VAR, metrics_tag)))), true))
|
||||
// Unused:
|
||||
//#define GET_METRIC_X(TABLE, ATTR) \
|
||||
// (face->table.TABLE->has_data () && \
|
||||
// ((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) \
|
||||
(face->table.TABLE->has_data () && \
|
||||
((void) (position && (*position = font->em_scalef_y (_fix_ascender_descender ( \
|
||||
|
||||
Reference in new issue
Block a user