Commit 85c16fc4 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent 96757205
...@@ -4440,7 +4440,7 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format, ...@@ -4440,7 +4440,7 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
vec.x = ft_face->glyph->metrics.horiAdvance; vec.x = ft_face->glyph->metrics.horiAdvance;
vec.y = 0; vec.y = 0;
pFT_Vector_Transform(&vec, &transMat); 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->gmCellIncY = -((vec.y+63) >> 6);
} }
lpgm->gmBlackBoxX = (right - left) >> 6; lpgm->gmBlackBoxX = (right - left) >> 6;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment