summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-08-21 15:05:19 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-22 09:22:09 +0200
commitc15a8cc283d5d7b26677b9c71cabb1f5f47494f1 (patch)
tree7b37453c79b7828a5d8ac2d0b683e046399337cb /src/plugins/platforms
parentf9da1a21a862ab2964c0e9f366a6cc6e4932ad21 (diff)
Don't use qt_mac_get_fixed_pitch() to resolve fixed pitch fonts on OSXv5.1.1
The call was resulting in inifinite recursion on OSX 10.9 when Qt was built against the 10.7 SDK, as qt_mac_get_fixed_pitch uses QFontMetrics to resolve the pitch, and we would end up in the font resolver again when asking for the metrics. The CoreText font-database already takes care of resolving whether or not a font family is fixed-pitch, so the code is likely a leftover from the ATSUI-days, and can be removed. Task-number: QTBUG-31803 Change-Id: I37c90fa637927eb4adc16c0fd556c4c46c456034 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> (cherry picked from commit bd9a023a41209a216eec28bd25a20372a5172b6a) Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com> Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions