Don't lose the fontDef when setting the size of a raw font.
authorPierre Rossi <pierre.rossi@nokia.com>
Tue, 24 Jan 2012 19:22:14 +0000 (20:22 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Jan 2012 09:19:44 +0000 (10:19 +0100)
commite52ef6788b38f22ed024f1595392fd620e0773ef
treeb1b1cca9948220856c16a521e80febfed43d9df3
parent7b0dcb48a658f825e91acea4bbbcf0798c27695a
Don't lose the fontDef when setting the size of a raw font.

QFontEngineFT::cloneWithSize, which is used among other things by
QRawFont::setPixelSize, should create a new font engine using the font
definition from the current font engine.

Change-Id: I9415422bbecc2bf7b7acf105c12c1c83a894526c
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/gui/text/qfontengine_ft.cpp