Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1f90b33d
Commit
1f90b33d
authored
May 06, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Enable global directional substitution features.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7e02e2e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
shape.c
dlls/dwrite/shape.c
+11
-0
No files found.
dlls/dwrite/shape.c
View file @
1f90b33d
...
...
@@ -301,6 +301,17 @@ HRESULT shape_get_glyphs(struct scriptshaping_context *context, const unsigned i
struct
shaping_features
features
=
{
0
};
unsigned
int
i
;
if
(
!
context
->
is_sideways
)
{
if
(
context
->
is_rtl
)
shape_add_feature
(
&
features
,
DWRITE_MAKE_OPENTYPE_TAG
(
'r'
,
't'
,
'l'
,
'a'
));
else
{
shape_add_feature
(
&
features
,
DWRITE_MAKE_OPENTYPE_TAG
(
'l'
,
't'
,
'r'
,
'a'
));
shape_add_feature
(
&
features
,
DWRITE_MAKE_OPENTYPE_TAG
(
'l'
,
't'
,
'r'
,
'm'
));
}
}
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
common_features
);
++
i
)
shape_add_feature
(
&
features
,
common_features
[
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