Commit 5eef3594 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted…

wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted y-transforms (even if the page -> device mapping results in a negative y-scale).
parent cff134da
......@@ -276,8 +276,11 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev)
physDev->font.size.yx = ps_round(ppem * xform.eM21);
physDev->font.size.yy = ps_round(ppem * xform.eM22);
if(GetMapMode(physDev->hdc) == MM_TEXT)
switch(GetMapMode(physDev->hdc))
{
case MM_TEXT:
case MM_ISOTROPIC:
case MM_ANISOTROPIC:
physDev->font.size.yx *= -1;
physDev->font.size.yy *= -1;
}
......
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