diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-21 13:09:24 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-21 13:14:58 (GMT) |
commit | 500f8a4368be85a0ae8b7c46012deb0ab0c844ad (patch) | |
tree | b81d7a3e13c494b0681c0dba7a831095b7850d82 /src/gui/text/qrawfont_ft.cpp | |
parent | 89fb49ab13949d5ed1fb8bf0d306d9f1b2c38a71 (diff) | |
download | Qt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.zip Qt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.tar.gz Qt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.tar.bz2 |
Switch to use floating point pixelSize in QRawFont completely
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qrawfont_ft.cpp')
-rw-r--r-- | src/gui/text/qrawfont_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont_ft.cpp b/src/gui/text/qrawfont_ft.cpp index db60459..5bba221 100644 --- a/src/gui/text/qrawfont_ft.cpp +++ b/src/gui/text/qrawfont_ft.cpp @@ -98,7 +98,7 @@ void QRawFontPrivate::platformCleanUp() // Font engine handles all resources } -void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, int pixelSize, +void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) { Q_ASSERT(fontEngine == 0); |