Akihiro Sagawa : gdi32: Fix regression due to sub-pixel shift calculations fixes.
Module: wine Branch: master Commit: e06d2dbc6772bf4f038847f2c7825ecdefcf4b90 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e06d2dbc6772bf4f038847f2c7... Author: Akihiro Sagawa <sagawa.aki(a)gmail.com> Date: Fri Jan 24 01:47:54 2014 +0900 gdi32: Fix regression due to sub-pixel shift calculations fixes. --- dlls/gdi32/freetype.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 722a211..5f4a570 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -6744,11 +6744,13 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format, { gm.gmBlackBoxX += 2; gm.gmptGlyphOrigin.x -= 1; + left -= (1 << 6); } else { gm.gmBlackBoxY += 2; gm.gmptGlyphOrigin.y += 1; + top += (1 << 6); } }
participants (1)
-
Alexandre Julliard