wineps.drv: All map modes should have inverted y-transforms.

This commit is contained in:
Alexander Kochetkov 2011-02-10 03:08:12 +03:00 committed by Alexandre Julliard
parent 760804ae4b
commit ecde55b757
1 changed files with 2 additions and 11 deletions

View File

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