mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Reset the escapement back to zero before retrieving the outline (we're
already in a rotated coordinate system).
This commit is contained in:
parent
7f45ed2ce2
commit
5e63af58a0
@ -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.lfOrientation = lf.lfEscapement = 0;
|
||||
unscaled_font = CreateFontIndirectW(&lf);
|
||||
old_font = SelectObject(physDev->hdc, unscaled_font);
|
||||
len = GetGlyphOutlineW(physDev->hdc, index, GGO_GLYPH_INDEX | GGO_BEZIER,
|
||||
|
Loading…
Reference in New Issue
Block a user