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).

This commit is contained in:
Huw Davies 2010-04-28 15:05:02 +01:00 committed by Alexandre Julliard
parent cff134daf4
commit 5eef3594ad
1 changed files with 4 additions and 1 deletions

View File

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