mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:38:21 +00:00
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:
parent
cff134daf4
commit
5eef3594ad
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue