Dmitry Timoshkov : gdi32: Don' t forget to update the glyph advance in the case of a custom transformation .
Alexandre Julliard
julliard at winehq.org
Tue Jun 24 06:46:32 CDT 2008
Module: wine
Branch: master
Commit: 85c16fc45b2448972ce4aa22bade7774d8811d90
URL: http://source.winehq.org/git/wine.git/?a=commit;h=85c16fc45b2448972ce4aa22bade7774d8811d90
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Tue Jun 24 16:11:05 2008 +0900
gdi32: Don't forget to update the glyph advance in the case of a custom transformation.
---
dlls/gdi32/freetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 1fc385d..bccb063 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4440,7 +4440,7 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
vec.x = ft_face->glyph->metrics.horiAdvance;
vec.y = 0;
pFT_Vector_Transform(&vec, &transMat);
- lpgm->gmCellIncX = (vec.x+63) >> 6;
+ adv = lpgm->gmCellIncX = (vec.x+63) >> 6;
lpgm->gmCellIncY = -((vec.y+63) >> 6);
}
lpgm->gmBlackBoxX = (right - left) >> 6;
More information about the wine-cvs
mailing list