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
9be30c83
Commit
9be30c83
authored
Apr 20, 2006
by
Jeff Latimer
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Set defaults for ScriptGetFontProperties.
Set defaults similar to Win XP for Kashida and set the default char in ScriptGetFontProperties.
parent
9c6c83e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
usp10.c
dlls/usp10/usp10.c
+5
-1
No files found.
dlls/usp10/usp10.c
View file @
9be30c83
...
...
@@ -123,6 +123,7 @@ HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPR
{
HDC
phdc
;
Scriptcache
*
pScriptcache
;
TEXTMETRICW
ptm
;
TRACE
(
"%p,%p,%p
\n
"
,
hdc
,
psc
,
sfp
);
if
(
!
hdc
&&
!*
psc
)
{
...
...
@@ -146,9 +147,12 @@ HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPR
/* return something sensible? */
if
(
NULL
!=
sfp
)
{
sfp
->
wgBlank
=
0
;
if
(
GetTextMetricsW
(
phdc
,
&
ptm
))
sfp
->
wgDefault
=
ptm
.
tmDefaultChar
;
else
sfp
->
wgDefault
=
0
;
sfp
->
wgInvalid
=
0
;
sfp
->
wgKashida
=
1
;
sfp
->
wgKashida
=
0xffff
;
sfp
->
iKashidaWidth
=
0
;
}
return
0
;
...
...
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