gdi32: Printer drivers don't use the character extra spacing if lpdx is supplied.
This commit is contained in:
parent
4ec2809e73
commit
5713311657
|
@ -2266,6 +2266,9 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
|
||||||
y = pt.y;
|
y = pt.y;
|
||||||
|
|
||||||
char_extra = GetTextCharacterExtra(hdc);
|
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)
|
if(char_extra || dc->breakExtra || breakRem || lpDx || lf.lfEscapement != 0)
|
||||||
{
|
{
|
||||||
UINT i;
|
UINT i;
|
||||||
|
|
Loading…
Reference in New Issue