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
eadd97cb
Commit
eadd97cb
authored
May 05, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Use feature tags directly instead of SDK symbols.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
33ec962e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
shape.c
dlls/dwrite/shape.c
+6
-6
No files found.
dlls/dwrite/shape.c
View file @
eadd97cb
...
...
@@ -285,15 +285,15 @@ HRESULT shape_get_glyphs(struct scriptshaping_context *context, const unsigned i
{
static
const
unsigned
int
common_features
[]
=
{
DWRITE_
FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION
,
DWRITE_
FONT_FEATURE_TAG_LOCALIZED_FORMS
,
DWRITE_
FONT_FEATURE_TAG_REQUIRED_LIGATURES
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'c'
,
'c'
,
'm'
,
'p'
)
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'l'
,
'o'
,
'c'
,
'l'
)
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'r'
,
'l'
,
'i'
,
'g'
)
,
};
static
const
unsigned
int
horizontal_features
[]
=
{
DWRITE_
FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES
,
DWRITE_
FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES
,
DWRITE_
FONT_FEATURE_TAG_STANDARD_LIGATURES
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'c'
,
'a'
,
'l'
,
't'
)
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'c'
,
'l'
,
'i'
,
'g'
)
,
DWRITE_
MAKE_OPENTYPE_TAG
(
'l'
,
'i'
,
'g'
,
'a'
)
,
DWRITE_MAKE_OPENTYPE_TAG
(
'r'
,
'c'
,
'l'
,
't'
),
};
struct
scriptshaping_cache
*
cache
=
context
->
cache
;
...
...
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