Fix coretext build (hopefully)

This commit is contained in:
Behdad Esfahbod 2018-08-09 00:58:17 -07:00
parent aa3b6017ed
commit 3f3585ca14
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ hb_coretext_font_create (CTFontRef ct_font)
hb_font_set_ptem (font, coretext_font_size_to_ptem (CTFontGetSize(ct_font))); hb_font_set_ptem (font, coretext_font_size_to_ptem (CTFontGetSize(ct_font)));
/* Let there be dragons here... */ /* Let there be dragons here... */
HB_SHAPER_DATA_GET (font) = (hb_coretext_font_data_t *) CFRetain (ct_font); HB_SHAPER_DATA (font).set_relaxed ((hb_coretext_font_data_t *) CFRetain (ct_font));
return font; return font;
} }