Last active
October 2, 2015 01:50
-
-
Save ianblenke/e52684ee1fd865667245 to your computer and use it in GitHub Desktop.
harfbuzz kCTLanguageAttributeName patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc | |
index 13ba5d9..015d801 100644 | |
--- a/src/hb-coretext.cc | |
+++ b/src/hb-coretext.cc | |
@@ -719,9 +719,9 @@ retry: | |
/* What's the iOS equivalent of this check? | |
* The symbols was introduced in iOS 7.0. | |
* At any rate, our fallback is safe and works fine. */ | |
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090 | |
+/*#if MAC_OS_X_VERSION_MIN_REQUIRED < 1090*/ | |
# define kCTLanguageAttributeName CFSTR ("NSLanguage") | |
-#endif | |
+/*#endif*/ | |
CFStringRef lang = CFStringCreateWithCStringNoCopy (kCFAllocatorDefault, | |
hb_language_to_string (buffer->props.language), | |
kCFStringEncodingUTF8, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment