From a0f1b44b6c0e3b1e6a1ba63dde2be22e0425353f Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 16 Aug 2016 03:09:04 +0200 Subject: [PATCH] [coretext] Blind fix for build on MacOS 10.9 --- src/hb-coretext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 3e56f15b1..9e24e9063 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -150,7 +150,7 @@ create_ct_font (CGFontRef cg_font, CGFloat font_size) * bug indicate that the cascade list reconfiguration occasionally causes * crashes in CoreText on OS X 10.9, thus let's skip this step on older * operating system versions. */ - if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() < kCTVersionNumber10_10) + if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() <= kCTVersionNumber10_9) return ct_font; CFURLRef original_url = (CFURLRef)CTFontCopyAttribute(ct_font, kCTFontURLAttribute);