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
9d32c2d3
Commit
9d32c2d3
authored
Aug 16, 2017
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Fall back to 'dflt' language if shaping language tag isn't found.
Signed-off-by:
Aric Stewart
<
aric@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e0915572
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
shape.c
dlls/usp10/shape.c
+6
-2
No files found.
dlls/usp10/shape.c
View file @
9d32c2d3
...
...
@@ -638,8 +638,12 @@ static LoadedFeature* load_OT_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache
}
while
(
attempt
&&
!
feature
);
/* try in the default (latin) table */
if
(
!
feature
&&
!
script
)
OpenType_GetFontFeatureTags
(
psc
,
MS_MAKE_TAG
(
'l'
,
'a'
,
't'
,
'n'
),
MS_MAKE_TAG
(
'd'
,
'f'
,
'l'
,
't'
),
FALSE
,
MS_MAKE_TAG
(
feat
[
0
],
feat
[
1
],
feat
[
2
],
feat
[
3
]),
tableType
,
1
,
&
tags
,
&
cTags
,
&
feature
);
if
(
!
feature
)
{
if
(
!
script
)
script
=
MS_MAKE_TAG
(
'l'
,
'a'
,
't'
,
'n'
);
OpenType_GetFontFeatureTags
(
psc
,
script
,
MS_MAKE_TAG
(
'd'
,
'f'
,
'l'
,
't'
),
FALSE
,
MS_MAKE_TAG
(
feat
[
0
],
feat
[
1
],
feat
[
2
],
feat
[
3
]),
tableType
,
1
,
&
tags
,
&
cTags
,
&
feature
);
}
}
TRACE
(
"Feature %s located at %p
\n
"
,
debugstr_an
(
feat
,
4
),
feature
);
...
...
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