Commit 57133116 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: Printer drivers don't use the character extra spacing if lpdx is supplied.

parent 4ec2809e
......@@ -2266,6 +2266,9 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
y = pt.y;
char_extra = GetTextCharacterExtra(hdc);
if (char_extra && lpDx && GetDeviceCaps( hdc, TECHNOLOGY ) == DT_RASPRINTER)
char_extra = 0; /* Printer drivers don't add char_extra if lpDx is supplied */
if(char_extra || dc->breakExtra || breakRem || lpDx || lf.lfEscapement != 0)
{
UINT i;
......
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