diff options
author | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-11-23 03:36:20 (GMT) |
---|---|---|
committer | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-11-23 03:36:20 (GMT) |
commit | 0cadaf8932355d1fc9cc560d405a3915aeac7d5a (patch) | |
tree | f654169a39839dc43a703716fa40fb8d4a63d513 /src/gui/painting/qtextureglyphcache.cpp | |
parent | 0186faea383f3f8223bffd1844e5a47ca22770a5 (diff) | |
parent | c74a5ae953899b9109ef56b2057b094152616480 (diff) | |
download | Qt-0cadaf8932355d1fc9cc560d405a3915aeac7d5a.zip Qt-0cadaf8932355d1fc9cc560d405a3915aeac7d5a.tar.gz Qt-0cadaf8932355d1fc9cc560d405a3915aeac7d5a.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/gui/painting/qtextureglyphcache.cpp')
-rw-r--r-- | src/gui/painting/qtextureglyphcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp index a192e87..46fbaa9 100644 --- a/src/gui/painting/qtextureglyphcache.cpp +++ b/src/gui/painting/qtextureglyphcache.cpp @@ -101,7 +101,7 @@ void QTextureGlyphCache::populate(const QTextItemInt &ti, Coord c = { 0, 0, // will be filled in later glyph_width, glyph_height, // texture coords - metrics.x.truncate(), + metrics.x.round().truncate(), -metrics.y.truncate() }; // baseline for horizontal scripts listItemCoordinates.insert(glyph, c); |