gdi32: Don't forget to update the glyph advance in the case of a custom transformation.

This commit is contained in:
Dmitry Timoshkov 2008-06-24 16:11:05 +09:00 committed by Alexandre Julliard
parent 9675720510
commit 85c16fc45b
1 changed files with 1 additions and 1 deletions

View File

@ -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;