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

wineps.drv: Make sure we call CreateFontIndirect with zero width, otherwise…

wineps.drv: Make sure we call CreateFontIndirect with zero width, otherwise we'll get a scaled-width font.
parent fc269433
......@@ -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);
......
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