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
8010ede2
Commit
8010ede2
authored
Mar 12, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Enable 'meta' table properties for the font set.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3fb3b872
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
font.c
dlls/dwrite/font.c
+6
-2
No files found.
dlls/dwrite/font.c
View file @
8010ede2
...
...
@@ -7157,6 +7157,10 @@ static IDWriteLocalizedStrings * fontset_entry_get_property(struct dwrite_fontse
opentype_get_font_info_strings
(
&
stream_desc
,
DWRITE_INFORMATIONAL_STRING_FULL_NAME
,
&
value
);
else
if
(
property
==
DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME
)
opentype_get_font_info_strings
(
&
stream_desc
,
DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME
,
&
value
);
else
if
(
property
==
DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG
)
opentype_get_font_info_strings
(
&
stream_desc
,
DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG
,
&
value
);
else
if
(
property
==
DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG
)
opentype_get_font_info_strings
(
&
stream_desc
,
DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG
,
&
value
);
else
WARN
(
"Unsupported property %u.
\n
"
,
property
);
...
...
@@ -7296,6 +7300,8 @@ static BOOL fontset_entry_is_matching(struct dwrite_fontset_entry *entry, DWRITE
{
case
DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME
:
case
DWRITE_FONT_PROPERTY_ID_FULL_NAME
:
case
DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG
:
case
DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG
:
if
(
!
(
value
=
fontset_entry_get_property
(
entry
,
props
[
i
].
propertyId
)))
return
FALSE
;
...
...
@@ -7307,8 +7313,6 @@ static BOOL fontset_entry_is_matching(struct dwrite_fontset_entry *entry, DWRITE
case
DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME
:
case
DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME
:
case
DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME
:
case
DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG
:
case
DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG
:
case
DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG
:
case
DWRITE_FONT_PROPERTY_ID_WEIGHT
:
case
DWRITE_FONT_PROPERTY_ID_STRETCH
:
...
...
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