From 5eef3594add2ba749d22f3a6d8cd515b6fe93a32 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 28 Apr 2010 15:05:02 +0100 Subject: [PATCH] wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted y-transforms (even if the page -> device mapping results in a negative y-scale). --- dlls/wineps.drv/download.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c index 8be03c91804..9ad8a2cb708 100644 --- a/dlls/wineps.drv/download.c +++ b/dlls/wineps.drv/download.c @@ -276,8 +276,11 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev) physDev->font.size.yx = ps_round(ppem * xform.eM21); physDev->font.size.yy = ps_round(ppem * xform.eM22); - if(GetMapMode(physDev->hdc) == MM_TEXT) + switch(GetMapMode(physDev->hdc)) { + case MM_TEXT: + case MM_ISOTROPIC: + case MM_ANISOTROPIC: physDev->font.size.yx *= -1; physDev->font.size.yy *= -1; } -- 2.11.4.GIT