mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
wineps.drv: Make sure we call CreateFontIndirect with zero width, otherwise we'll get a scaled-width font.
This commit is contained in:
parent
fc269433ce
commit
d84ea74ec8
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ BOOL T1_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
|
|||
rc.top = t1->emsize;
|
||||
DPtoLP(physDev->hdc, (POINT*)&rc, 2);
|
||||
lf.lfHeight = -abs(rc.top - rc.bottom);
|
||||
lf.lfWidth = 0;
|
||||
lf.lfOrientation = lf.lfEscapement = 0;
|
||||
unscaled_font = CreateFontIndirectW(&lf);
|
||||
old_font = SelectObject(physDev->hdc, unscaled_font);
|
||||
|
|
Loading…
Reference in a new issue