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

oldstable
Huw Davies 2013-03-26 11:14:26 +00:00 committed by Alexandre Julliard
parent 4ec2809e73
commit 5713311657
1 changed files with 3 additions and 0 deletions

View File

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