Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
69f88da1
Commit
69f88da1
authored
Jan 14, 2011
by
Alexander Kochetkov
Committed by
Alexandre Julliard
Jan 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Disable world transform for fonts in GM_COMPATIBLE mode.
parent
7d21d936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
download.c
dlls/wineps.drv/download.c
+7
-0
No files found.
dlls/wineps.drv/download.c
View file @
69f88da1
...
...
@@ -20,6 +20,7 @@
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
...
...
@@ -271,6 +272,12 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev)
/* Retrieve the world -> device transform */
GetTransform
(
physDev
->
hdc
,
0x204
,
&
xform
);
if
(
GetGraphicsMode
(
physDev
->
hdc
)
==
GM_COMPATIBLE
)
{
xform
.
eM11
=
xform
.
eM22
=
fabs
(
xform
.
eM22
);
xform
.
eM21
=
xform
.
eM12
=
0
;
}
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment