mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +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 New Issue
Block a user