summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2012-03-22 13:14:24 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-26 09:12:05 +0200
commit3c3c445dafc2e0d6ef2af1b9af17a66484131cbc (patch)
tree66d0bdc422561bff706154d3b54fde1510e34714 /src/plugins/platforms/cocoa
parentcb33c3b2b64db43b81d81cf56fe1b2b0155a2839 (diff)
Fix for fontconfig 2.9 behavior change
Start from 2.9, fontconfig will reset the result to FcResultNoMatch at the beginning of FcFontSort(). According to http://lists.freedesktop.org/archives/fontconfig/2012-March/003857.html the result value of FcFontSort() can be ignored, checking the nfont value of the fontset returned is sufficient. The fix works for pre-2.9 versions as well, since those versions don't touch the result at all. Change-Id: Iba6c1157e314088a90867292a4bd970bb873e284 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa')
0 files changed, 0 insertions, 0 deletions