gdi32: Fix regression due to sub-pixel shift calculations fixes.
This commit is contained in:
parent
965d3acc6d
commit
e06d2dbc67
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue