Reset the escapement back to zero before retrieving the outline (we're

already in a rotated coordinate system).
This commit is contained in:
Huw Davies 2003-05-19 23:20:44 +00:00 committed by Alexandre Julliard
parent 7f45ed2ce2
commit 5e63af58a0

View File

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