diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-07-27 11:55:43 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-07-27 11:55:43 (GMT) |
commit | f4f10d2a2d60790939492694abf6b9578a5f048a (patch) | |
tree | 5075585f290e230a80667039d87bca52ba4f2891 /doc/src/snippets/sqldatabase/sqldatabase.pro | |
parent | 3695cb25e4a53921880cfea4d4c731df44fa4396 (diff) | |
download | Qt-f4f10d2a2d60790939492694abf6b9578a5f048a.zip Qt-f4f10d2a2d60790939492694abf6b9578a5f048a.tar.gz Qt-f4f10d2a2d60790939492694abf6b9578a5f048a.tar.bz2 |
Workaround for QTBUG-8013: Do not return an ascent of 0
Symbian's CFont::FontMaxAscent() returns in some cases an
incorrect value of 0. That usually happens (for some font sizes)
if a stroke based font is the main system font.
We were able to reproduce it on some S60 3.2 devices with a
chinese language pack installed.
This patch will test if CFont::FontMaxAscent() returns 0. And if
so, it alculates an ascent taht makes more sense.
Task-number: QTBUG-8013
Reviewed-by: Liang Qi
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions