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
e8816357
Commit
e8816357
authored
Sep 08, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Sep 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Attempt to shape with non TMPF_TRUETYPE fonts.
Just do not do the parts that are known to require ttf tables.
parent
d8225557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
usp10.c
dlls/usp10/usp10.c
+7
-3
No files found.
dlls/usp10/usp10.c
View file @
e8816357
...
...
@@ -1254,7 +1254,7 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars,
pwLogClust
[
i
]
=
idx
;
}
if
(
(
get_cache_pitch_family
(
psc
)
&
TMPF_TRUETYPE
)
&&
!
psa
->
fNoGlyphIndex
)
if
(
!
psa
->
fNoGlyphIndex
)
{
WCHAR
*
rChars
=
heap_alloc
(
sizeof
(
WCHAR
)
*
cChars
);
if
(
!
rChars
)
return
E_OUTOFMEMORY
;
...
...
@@ -1276,8 +1276,12 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars,
}
rChars
[
i
]
=
chInput
;
}
SHAPE_ContextualShaping
(
hdc
,
(
ScriptCache
*
)
*
psc
,
psa
,
rChars
,
cChars
,
pwOutGlyphs
,
pcGlyphs
,
cMaxGlyphs
,
pwLogClust
);
SHAPE_ApplyDefaultOpentypeFeatures
(
hdc
,
(
ScriptCache
*
)
*
psc
,
psa
,
pwOutGlyphs
,
pcGlyphs
,
cMaxGlyphs
,
cChars
,
pwLogClust
);
if
(
get_cache_pitch_family
(
psc
)
&
TMPF_TRUETYPE
)
{
SHAPE_ContextualShaping
(
hdc
,
(
ScriptCache
*
)
*
psc
,
psa
,
rChars
,
cChars
,
pwOutGlyphs
,
pcGlyphs
,
cMaxGlyphs
,
pwLogClust
);
SHAPE_ApplyDefaultOpentypeFeatures
(
hdc
,
(
ScriptCache
*
)
*
psc
,
psa
,
pwOutGlyphs
,
pcGlyphs
,
cMaxGlyphs
,
cChars
,
pwLogClust
);
}
heap_free
(
rChars
);
}
else
...
...
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