From ecde55b7572a9b5c145d3cc3a934ddf99c267ae7 Mon Sep 17 00:00:00 2001 From: Alexander Kochetkov Date: Thu, 10 Feb 2011 03:08:12 +0300 Subject: [PATCH] wineps.drv: All map modes should have inverted y-transforms. --- dlls/wineps.drv/download.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c index 52de7520bbc..cc57ae12fd6 100644 --- a/dlls/wineps.drv/download.c +++ b/dlls/wineps.drv/download.c @@ -280,17 +280,8 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev) physDev->font.size.xx = ps_round(ppem * xform.eM11); physDev->font.size.xy = ps_round(ppem * xform.eM12); - physDev->font.size.yx = ps_round(ppem * xform.eM21); - physDev->font.size.yy = ps_round(ppem * xform.eM22); - - switch(GetMapMode(physDev->hdc)) - { - case MM_TEXT: - case MM_ISOTROPIC: - case MM_ANISOTROPIC: - physDev->font.size.yx *= -1; - physDev->font.size.yy *= -1; - } + physDev->font.size.yx = -ps_round(ppem * xform.eM21); + physDev->font.size.yy = -ps_round(ppem * xform.eM22); physDev->font.underlineThickness = potm->otmsUnderscoreSize; physDev->font.underlinePosition = potm->otmsUnderscorePosition;