From 5e63af58a037747e4841eeeacb30c4a4407dc026 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Mon, 19 May 2003 23:20:44 +0000 Subject: [PATCH] Reset the escapement back to zero before retrieving the outline (we're already in a rotated coordinate system). --- dlls/wineps/type1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wineps/type1.c b/dlls/wineps/type1.c index e55eaa3911b..8aa68c43438 100644 --- a/dlls/wineps/type1.c +++ b/dlls/wineps/type1.c @@ -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,