[coretext] One more try

pull/1291/head
Behdad Esfahbod 6 years ago
parent fd27a23c82
commit 78bd447594
  1. 2
      src/hb-coretext.cc

@ -338,7 +338,7 @@ static const hb_coretext_font_data_t *
hb_coretext_font_data_sync (hb_font_t *font)
{
retry:
const hb_coretext_shaper_font_data_t *data = font->data.font;
const hb_coretext_font_data_t *data = font->data.font;
if (unlikely (!data)) return nullptr;
if (fabs (CTFontGetSize((CTFontRef) data) - coretext_font_size_from_ptem (font->ptem)) > .5)

Loading…
Cancel
Save