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

This commit is contained in:
Akihiro Sagawa 2014-01-24 01:47:54 +09:00 committed by Alexandre Julliard
parent 965d3acc6d
commit e06d2dbc67
1 changed files with 2 additions and 0 deletions

View File

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