changeset 37 | 758a864f9613 |
parent 30 | 5dc02b23752f |
--- a/src/gui/text/qfontengine_win.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/gui/text/qfontengine_win.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -487,7 +487,7 @@ for (int i = 0; i < glyphs.numGlyphs; ++i) w += glyphs.effectiveAdvance(i); - return glyph_metrics_t(0, -tm.tmAscent, w, tm.tmHeight, w, 0); + return glyph_metrics_t(0, -tm.tmAscent, w - lastRightBearing(glyphs), tm.tmHeight, w, 0); } #ifndef Q_WS_WINCE