diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index ee7f91cc9..e68ee9113 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -152,7 +152,7 @@ create_ct_font (CGFontRef cg_font, CGFloat font_size) * operating system versions. Except for the emoji font, where _not_ * reconfiguring the cascade list causes CoreText crashes. For details, see * crbug.com/549610 */ - if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() < kCTVersionNumber10_10) { + if (&CTGetCoreTextVersion != NULL && CTGetCoreTextVersion() <= kCTVersionNumber10_9) { CFStringRef fontName = CTFontCopyPostScriptName (ct_font); bool isEmojiFont = CFStringCompare (fontName, CFSTR("AppleColorEmoji"), 0) == kCFCompareEqualTo; CFRelease (fontName);