mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
gdi32: Printer drivers don't use the character extra spacing if lpdx is supplied.
This commit is contained in:
parent
4ec2809e73
commit
5713311657
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue