projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0634d56
)
[coretext] Blind fix for build on MacOS 10.9
author
Khaled Hosny
<khaledhosny@eglug.org>
Tue, 16 Aug 2016 01:09:04 +0000
(
03:09
+0200)
committer
Khaled Hosny
<khaledhosny@eglug.org>
Tue, 16 Aug 2016 01:09:04 +0000
(
03:09
+0200)
src/hb-coretext.cc
patch
|
blob
|
history
diff --git
a/src/hb-coretext.cc
b/src/hb-coretext.cc
index 3e56f15b1d860e2781531019c152464b25830562..9e24e90635d26f36fd2dac7d4b9e7f9900940ee8 100644
(file)
--- 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);