summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2010-09-14 15:12:16 +0200
committerJiang Jiang <jiang.jiang@nokia.com>2010-09-14 15:41:10 +0200
commit0ac41424ef143d00461e55087ccceb4b9dc11745 (patch)
treec66650e4de926a6e0a13890033b43ec4b35a1351 /examples
parentcb6380beb81ab9571c547270c144988781fed465 (diff)
Fix crash in Mac font loading
Commit f2f6330d915cbe3d0989ad280738ed0a6954cd35 introduced an extra CFRelease of QCFString, which will cause crash. Also, since we are not refering to ATS font in Cocoa code anymore, conversion of CTFontRef to CGFontRef should not rely on platform fonts, we use CTFontCopyGraphicsFont to get the corresponding CGFontRef directly. Reviewed-by: Eskil Abrahamsen Blomfeldt
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions