summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-12-15 12:15:34 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-12-15 12:28:30 (GMT)
commitda918327fdaaf45774c074d911882141cf77ea7e (patch)
tree5281d2d03e7aa5f2656ea9d0a6a60b353245d384 /src/gui/painting/qdrawhelper_p.h
parent39ca4450e0c2ca16ba253f1a3ac3ea5bdd23f290 (diff)
downloadQt-da918327fdaaf45774c074d911882141cf77ea7e.zip
Qt-da918327fdaaf45774c074d911882141cf77ea7e.tar.gz
Qt-da918327fdaaf45774c074d911882141cf77ea7e.tar.bz2
Fix vertical text centering on Mac OS X
Change 04d18b38 fixed the windows and ft font engines so that the height reported in QFontMetrics is now correct, but this make vertical text centering one off as the platform defaults is to round down rather than up when the vertical position of the text is in the middle of a pixel. When this was fixed in change 1de8a5b, the vertical centering broke on Mac, since it still reported a too great font height. This patch applies the same hack to the mac font engines to report the correct font height. Task-number: QTBUG-6770 Reviewed-by: joerg
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
0 files changed, 0 insertions, 0 deletions