diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-25 11:18:42 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-25 11:27:07 (GMT) |
commit | ea0b7da7f5c206c436999b35bc2b55fb8863ecfe (patch) | |
tree | 5cb0f7d822d04deaeee66c5933554875e4c09b44 /src/declarative/qml/qdeclarativescriptparser.cpp | |
parent | bbf096c7ba589d05df8b8bce724e9393deb8f3b4 (diff) | |
download | Qt-ea0b7da7f5c206c436999b35bc2b55fb8863ecfe.zip Qt-ea0b7da7f5c206c436999b35bc2b55fb8863ecfe.tar.gz Qt-ea0b7da7f5c206c436999b35bc2b55fb8863ecfe.tar.bz2 |
Fix glyph advance on Mac/Carbon
Device metrics was turned on for Mac/Carbon to work around a bug
in WebKit that required the font engine to report only integer values.
This in turn caused positioning of glyphs to be slightly off compared
to native applications. The bug has been fixed in WebKit, so now we
can turn off the device metrics flag. Since we are now reporting
fractional values as well, we need to round the numbers when the
ForceIntegerMetrics style strategy flag is set.
Task-number: qtbug-5529
Reviewed-by: Trond
Diffstat (limited to 'src/declarative/qml/qdeclarativescriptparser.cpp')
0 files changed, 0 insertions, 0 deletions