mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
wineps.drv: All map modes should have inverted y-transforms.
This commit is contained in:
parent
760804ae4b
commit
ecde55b757
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user