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
d489f1dd
Commit
d489f1dd
authored
Feb 16, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Pass features to stage functions.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c8e663d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
dwrite_private.h
dlls/dwrite/dwrite_private.h
+4
-1
opentype.c
dlls/dwrite/opentype.c
+1
-1
No files found.
dlls/dwrite/dwrite_private.h
View file @
d489f1dd
...
...
@@ -564,7 +564,10 @@ struct shaping_feature
#define MAX_SHAPING_STAGE 16
typedef
void
(
*
stage_func
)(
struct
scriptshaping_context
*
context
);
struct
shaping_features
;
typedef
void
(
*
stage_func
)(
struct
scriptshaping_context
*
context
,
const
struct
shaping_features
*
features
);
struct
shaping_stage
{
...
...
dlls/dwrite/opentype.c
View file @
d489f1dd
...
...
@@ -6070,7 +6070,7 @@ void opentype_layout_apply_gsub_features(struct scriptshaping_context *context,
}
if
(
features
->
stages
[
j
].
func
)
features
->
stages
[
j
].
func
(
context
);
features
->
stages
[
j
].
func
(
context
,
features
);
}
/* For every glyph range of [<last>.isClusterStart, <next>.isClusterStart) set corresponding
...
...
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