Commit e06d2dbc authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

gdi32: Fix regression due to sub-pixel shift calculations fixes.

parent 965d3acc
...@@ -6744,11 +6744,13 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format, ...@@ -6744,11 +6744,13 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format,
{ {
gm.gmBlackBoxX += 2; gm.gmBlackBoxX += 2;
gm.gmptGlyphOrigin.x -= 1; gm.gmptGlyphOrigin.x -= 1;
left -= (1 << 6);
} }
else else
{ {
gm.gmBlackBoxY += 2; gm.gmBlackBoxY += 2;
gm.gmptGlyphOrigin.y += 1; gm.gmptGlyphOrigin.y += 1;
top += (1 << 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