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
0c5d0f80
Commit
0c5d0f80
authored
Oct 07, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: When checking font for shaping the font needs at least 1 of the features…
usp10: When checking font for shaping the font needs at least 1 of the features but does not need all.
parent
5c8ed149
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
shape.c
dlls/usp10/shape.c
+5
-3
No files found.
dlls/usp10/shape.c
View file @
0c5d0f80
...
...
@@ -1348,13 +1348,15 @@ HRESULT SHAPE_CheckFontForRequiredFeatures(HDC hdc, ScriptCache *psc, SCRIPT_ANA
if
(
!
psc
->
GSUB_Table
)
psc
->
GSUB_Table
=
load_gsub_table
(
hdc
);
/* we need to have at least one of the required features */
i
=
0
;
while
(
ShapingData
[
psa
->
eScript
].
requiredFeatures
[
i
])
{
feature
=
load_GSUB_feature
(
hdc
,
psa
,
psc
,
ShapingData
[
psa
->
eScript
].
requiredFeatures
[
i
]);
if
(
!
feature
)
return
USP_E_SCRIPT_NOT_IN_FONT
;
if
(
feature
)
return
S_OK
;
i
++
;
}
return
S_OK
;
return
USP_E_SCRIPT_NOT_IN_FONT
;
}
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