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
8f890d41
Commit
8f890d41
authored
Sep 19, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Remove unused hmtx_tab field from TYPE42 structure.
parent
30229d47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
type42.c
dlls/wineps.drv/type42.c
+2
-4
No files found.
dlls/wineps.drv/type42.c
View file @
8f890d41
...
...
@@ -69,7 +69,7 @@ static const OTTable tables_templ[] = {
struct
tagTYPE42
{
OTTable
tables
[
ARRAY_SIZE
(
tables_templ
)];
int
glyf_tab
,
loca_tab
,
head_tab
;
/* indices of glyf, loca and head tables */
int
hmtx_tab
,
maxp_tab
;
int
maxp_tab
;
int
num_of_written_tables
;
DWORD
glyph_sent_size
;
BOOL
*
glyph_sent
;
...
...
@@ -170,7 +170,7 @@ TYPE42 *T42_download_header(print_ctx *ctx, char *ps_name,
t42
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
t42
));
memcpy
(
t42
->
tables
,
tables_templ
,
sizeof
(
tables_templ
));
t42
->
loca_tab
=
t42
->
glyf_tab
=
t42
->
head_tab
=
t42
->
hmtx_tab
=
-
1
;
t42
->
loca_tab
=
t42
->
glyf_tab
=
t42
->
head_tab
=
-
1
;
t42
->
emsize
=
emsize
;
t42
->
num_of_written_tables
=
0
;
...
...
@@ -184,8 +184,6 @@ TYPE42 *T42_download_header(print_ctx *ctx, char *ps_name,
t42
->
glyf_tab
=
i
;
else
if
(
t42
->
tables
[
i
].
MS_tag
==
MS_MAKE_TAG
(
'h'
,
'e'
,
'a'
,
'd'
))
t42
->
head_tab
=
i
;
else
if
(
t42
->
tables
[
i
].
MS_tag
==
MS_MAKE_TAG
(
'h'
,
'm'
,
't'
,
'x'
))
t42
->
hmtx_tab
=
i
;
else
if
(
t42
->
tables
[
i
].
MS_tag
==
MS_MAKE_TAG
(
'm'
,
'a'
,
'x'
,
'p'
))
t42
->
maxp_tab
=
i
;
}
...
...
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