Alexander Kochetkov : wineps.drv: All map modes should have inverted y-transforms.
Alexandre Julliard
julliard at winehq.org
Thu Feb 10 11:42:11 CST 2011
Module: wine
Branch: master
Commit: ecde55b7572a9b5c145d3cc3a934ddf99c267ae7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ecde55b7572a9b5c145d3cc3a934ddf99c267ae7
Author: Alexander Kochetkov <al.kochet at gmail.com>
Date: Thu Feb 10 03:08:12 2011 +0300
wineps.drv: All map modes should have inverted y-transforms.
---
dlls/wineps.drv/download.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c
index 52de752..cc57ae1 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;
More information about the wine-cvs
mailing list