mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
1 parent
db7a73ce07
commit
a5ebe1d4ae
1 file changed
+3
-2
+3
-2
@@ -71,8 +71,9 @@ hb_coretext_face_create (CGFontRef cg_font)
|
||||
|
||||
|
||||
HB_SHAPER_DATA_ENSURE_DEFINE(coretext, face)
|
||||
HB_SHAPER_DATA_ENSURE_DEFINE(coretext, font)
|
||||
|
||||
HB_SHAPER_DATA_ENSURE_DEFINE_WITH_CONDITION(coretext, font,
|
||||
abs (CTFontGetSize((CTFontRef) data) -
|
||||
(font->ptem < 0 ? HB_CORETEXT_FONT_SIZE : font->ptem)) < 1)
|
||||
|
||||
/*
|
||||
* shaper face data
|
||||
|
||||
Reference in new issue
Block a user