[coretext] Use fabs() to silence compiler warning
This commit is contained in:
parent
dd4b321b4a
commit
8923033eb2
|
@ -80,7 +80,7 @@ hb_coretext_face_create (CGFontRef cg_font)
|
|||
|
||||
HB_SHAPER_DATA_ENSURE_DEFINE(coretext, face)
|
||||
HB_SHAPER_DATA_ENSURE_DEFINE_WITH_CONDITION(coretext, font,
|
||||
fabsf (CTFontGetSize((CTFontRef) data) -
|
||||
fabs (CTFontGetSize((CTFontRef) data) -
|
||||
(font->ptem <= 0 ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem)) <= .5)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue