wineps: Fix the font escapement when coordinates are being mirrored.

This commit is contained in:
Alexandre Julliard 2011-11-04 16:08:29 +01:00
parent a38b3008c5
commit 29295e98e6
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ BOOL PSDRV_WriteSetDownloadFont(PHYSDEV dev)
if(GetGraphicsMode(dev->hdc) == GM_COMPATIBLE)
{
if (xform.eM22 < 0) physDev->font.escapement = -physDev->font.escapement;
xform.eM11 = xform.eM22 = fabs(xform.eM22);
xform.eM21 = xform.eM12 = 0;
}