diff options
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-coretext.h')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/hb-coretext.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-coretext.h b/src/3rdparty/harfbuzz-ng/src/hb-coretext.h index aa4bf69a52..25267bc978 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-coretext.h +++ b/src/3rdparty/harfbuzz-ng/src/hb-coretext.h @@ -30,7 +30,7 @@ #include "hb.h" #include <TargetConditionals.h> -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE +#if TARGET_OS_IPHONE # include <CoreText/CoreText.h> # include <CoreGraphics/CoreGraphics.h> #else @@ -44,6 +44,10 @@ HB_BEGIN_DECLS #define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x') +hb_face_t * +hb_coretext_face_create (CGFontRef cg_font); + + CGFontRef hb_coretext_face_get_cg_font (hb_face_t *face); |