Commit f77a28ee authored by qingdoa daoo's avatar qingdoa daoo Committed by Alexandre Julliard

gdi: Get correct horizontal spacing value in the presence of ETO_PDY flag.

parent 35ba7fb5
......@@ -1847,7 +1847,9 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
deltas = HeapAlloc(GetProcessHeap(), 0, count * sizeof(INT));
for(i = 0; i < count; i++)
{
if(lpDx)
if(lpDx && (flags & ETO_PDY))
deltas[i] = lpDx[i*2] + char_extra;
else if(lpDx)
deltas[i] = lpDx[i] + char_extra;
else
{
......
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