Commit ecde55b7 authored by Alexander Kochetkov's avatar Alexander Kochetkov Committed by Alexandre Julliard

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

parent 760804ae
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment