Fix QRawFont::setPixelSize() on Mac
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Fri, 6 May 2011 13:45:37 +0000 (15:45 +0200)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Fri, 6 May 2011 14:00:15 +0000 (16:00 +0200)
commit4135b6b3235d0a87dce586300b54ec4355cc98ca
treeceeb4edb295e953001ed98a36ddbba59d10598d7
parent61e6639c82f7bc10476c3890769f468a3f9ca1d6
Fix QRawFont::setPixelSize() on Mac

When refactoring the setPixelSize() code of QRawFont, it was broken
on Mac. To avoid making the same mistake again, I've added a simple
autotest to check that the pixel size is actually set.

Reviewed-by: Jiang Jiang
(cherry picked from commit 821b8b540af491ce60d35bd84d3c91399ecc0d16)
src/gui/text/qfontengine_coretext.mm
tests/auto/qrawfont/tst_qrawfont.cpp