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
2296bd73
Commit
2296bd73
authored
Jan 23, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Update for newer font string names.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
15e62caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
opentype.c
dlls/dwrite/opentype.c
+6
-6
No files found.
dlls/dwrite/opentype.c
View file @
2296bd73
...
...
@@ -1089,8 +1089,8 @@ enum OPENTYPE_STRING_ID
OPENTYPE_STRING_LICENSE_DESCRIPTION
,
OPENTYPE_STRING_LICENSE_INFO_URL
,
OPENTYPE_STRING_RESERVED_ID15
,
OPENTYPE_STRING_
PREFERRED
_FAMILY_NAME
,
OPENTYPE_STRING_
PREFERRED
_SUBFAMILY_NAME
,
OPENTYPE_STRING_
TYPOGRAPHIC
_FAMILY_NAME
,
OPENTYPE_STRING_
TYPOGRAPHIC
_SUBFAMILY_NAME
,
OPENTYPE_STRING_COMPATIBLE_FULLNAME
,
OPENTYPE_STRING_SAMPLE_TEXT
,
OPENTYPE_STRING_POSTSCRIPT_CID_NAME
,
...
...
@@ -1113,8 +1113,8 @@ static const UINT16 dwriteid_to_opentypeid[DWRITE_INFORMATIONAL_STRING_POSTSCRIP
OPENTYPE_STRING_LICENSE_INFO_URL
,
OPENTYPE_STRING_FAMILY_NAME
,
OPENTYPE_STRING_SUBFAMILY_NAME
,
OPENTYPE_STRING_
PREFERRED
_FAMILY_NAME
,
OPENTYPE_STRING_
PREFERRED
_SUBFAMILY_NAME
,
OPENTYPE_STRING_
TYPOGRAPHIC
_FAMILY_NAME
,
OPENTYPE_STRING_
TYPOGRAPHIC
_SUBFAMILY_NAME
,
OPENTYPE_STRING_SAMPLE_TEXT
,
OPENTYPE_STRING_FULL_FONTNAME
,
OPENTYPE_STRING_POSTSCRIPT_FONTNAME
,
...
...
@@ -2138,7 +2138,7 @@ HRESULT opentype_get_font_familyname(struct file_stream_desc *stream_desc, IDWri
hr
=
E_FAIL
;
if
(
FAILED
(
hr
))
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_
PREFERRED
_FAMILY_NAME
,
names
);
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_
TYPOGRAPHIC
_FAMILY_NAME
,
names
);
if
(
FAILED
(
hr
))
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_FAMILY_NAME
,
names
);
...
...
@@ -2175,7 +2175,7 @@ HRESULT opentype_get_font_facename(struct file_stream_desc *stream_desc, WCHAR *
hr
=
E_FAIL
;
if
(
FAILED
(
hr
))
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_
PREFERRED
_SUBFAMILY_NAME
,
names
);
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_
TYPOGRAPHIC
_SUBFAMILY_NAME
,
names
);
if
(
FAILED
(
hr
))
hr
=
opentype_get_font_strings_from_id
(
name_table
,
OPENTYPE_STRING_SUBFAMILY_NAME
,
names
);
...
...
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