Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
96a6d1fd
Commit
96a6d1fd
authored
May 06, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
May 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Remove unused fields from PSFONT structure.
parent
d1b09fa2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
20 deletions
+0
-20
builtin.c
dlls/wineps.drv/builtin.c
+0
-5
download.c
dlls/wineps.drv/download.c
+0
-5
psdrv.h
dlls/wineps.drv/psdrv.h
+0
-5
unixlib.c
dlls/wineps.drv/unixlib.c
+0
-5
No files found.
dlls/wineps.drv/builtin.c
View file @
96a6d1fd
...
...
@@ -138,11 +138,6 @@ static VOID ScaleFont(const AFM *afm, LONG lfHeight, PSFONT *font,
tm
->
tmMaxCharWidth
=
(
LONG
)
Round
(
(
afm
->
FontBBox
.
urx
-
afm
->
FontBBox
.
llx
)
*
font
->
fontinfo
.
Builtin
.
scale
);
font
->
underlinePosition
=
afm
->
UnderlinePosition
*
font
->
fontinfo
.
Builtin
.
scale
;
font
->
underlineThickness
=
afm
->
UnderlineThickness
*
font
->
fontinfo
.
Builtin
.
scale
;
font
->
strikeoutPosition
=
tm
->
tmAscent
/
2
;
font
->
strikeoutThickness
=
font
->
underlineThickness
;
TRACE
(
"Selected PS font '%s' size %d weight %ld.
\n
"
,
afm
->
FontName
,
font
->
size
.
xx
,
tm
->
tmWeight
);
TRACE
(
"H = %ld As = %ld Des = %ld IL = %ld EL = %ld
\n
"
,
tm
->
tmHeight
,
...
...
dlls/wineps.drv/download.c
View file @
96a6d1fd
...
...
@@ -308,11 +308,6 @@ BOOL PSDRV_WriteSetDownloadFont(PHYSDEV dev, BOOL vertical)
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
;
physDev
->
font
.
strikeoutThickness
=
potm
->
otmsStrikeoutSize
;
physDev
->
font
.
strikeoutPosition
=
potm
->
otmsStrikeoutPosition
;
if
(
physDev
->
font
.
fontinfo
.
Download
==
NULL
)
{
RECT
bbox
;
UINT
emsize
=
get_bbox
(
dev
->
hdc
,
&
bbox
);
...
...
dlls/wineps.drv/psdrv.h
View file @
96a6d1fd
...
...
@@ -316,11 +316,6 @@ typedef struct {
/* These are needed by PSDRV_ExtTextOut */
int
escapement
;
int
underlineThickness
;
int
underlinePosition
;
int
strikeoutThickness
;
int
strikeoutPosition
;
}
PSFONT
;
typedef
struct
{
...
...
dlls/wineps.drv/unixlib.c
View file @
96a6d1fd
...
...
@@ -904,11 +904,6 @@ static void scale_font(const AFM *afm, LONG height, PSFONT *font, TEXTMETRICW *t
tm
->
tmMaxCharWidth
=
(
LONG
)
gdi_round
(
(
afm
->
FontBBox
.
urx
-
afm
->
FontBBox
.
llx
)
*
font
->
fontinfo
.
Builtin
.
scale
);
font
->
underlinePosition
=
afm
->
UnderlinePosition
*
font
->
fontinfo
.
Builtin
.
scale
;
font
->
underlineThickness
=
afm
->
UnderlineThickness
*
font
->
fontinfo
.
Builtin
.
scale
;
font
->
strikeoutPosition
=
tm
->
tmAscent
/
2
;
font
->
strikeoutThickness
=
font
->
underlineThickness
;
TRACE
(
"Selected PS font '%s' size %d weight %d.
\n
"
,
afm
->
FontName
,
font
->
size
.
xx
,
(
int
)
tm
->
tmWeight
);
TRACE
(
"H = %d As = %d Des = %d IL = %d EL = %d
\n
"
,
(
int
)
tm
->
tmHeight
,
...
...
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