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
7714a3f7
Commit
7714a3f7
authored
Nov 21, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Add a stub implementation of ScriptApplyLogicalWidth.
parent
b2ab45b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletion
+35
-1
usp10.c
dlls/usp10/usp10.c
+34
-0
usp10.spec
dlls/usp10/usp10.spec
+1
-1
No files found.
dlls/usp10/usp10.c
View file @
7714a3f7
...
...
@@ -1794,3 +1794,37 @@ HRESULT WINAPI ScriptGetLogicalWidths(const SCRIPT_ANALYSIS *sa, int nbchars, in
for
(
i
=
0
;
i
<
nbchars
;
i
++
)
widths
[
i
]
=
glyph_width
[
i
];
return
S_OK
;
}
/***********************************************************************
* ScriptApplyLogicalWidth (USP10.@)
*
* Generate glyph advance widths.
*
* PARAMS
* dx [I] Array of logical advance widths.
* num_chars [I] Number of characters.
* num_glyphs [I] Number of glyphs.
* log_clust [I] Array of logical clusters.
* sva [I] Visual attributes.
* advance [I] Array of glyph advance widths.
* sa [I] Script analysis.
* abc [I/O] Summed ABC widths.
* justify [O] Array of glyph advance widths.
*
* RETURNS
* Success: S_OK
* Failure: a non-zero HRESULT.
*/
HRESULT
WINAPI
ScriptApplyLogicalWidth
(
const
int
*
dx
,
int
num_chars
,
int
num_glyphs
,
const
WORD
*
log_clust
,
const
SCRIPT_VISATTR
*
sva
,
const
int
*
advance
,
const
SCRIPT_ANALYSIS
*
sa
,
ABC
*
abc
,
int
*
justify
)
{
int
i
;
FIXME
(
"(%p, %d, %d, %p, %p, %p, %p, %p, %p)
\n
"
,
dx
,
num_chars
,
num_glyphs
,
log_clust
,
sva
,
advance
,
sa
,
abc
,
justify
);
for
(
i
=
0
;
i
<
num_chars
;
i
++
)
justify
[
i
]
=
advance
[
i
];
return
S_OK
;
}
dlls/usp10/usp10.spec
View file @
7714a3f7
@ stub LpkPresent
@ stdcall ScriptApplyDigitSubstitution(ptr ptr ptr)
@ st
ub ScriptApplyLogicalWidth
@ st
dcall ScriptApplyLogicalWidth(ptr long long ptr ptr ptr ptr ptr ptr)
@ stdcall ScriptBreak(ptr long ptr ptr)
@ stdcall ScriptCPtoX(long long long long ptr ptr ptr ptr ptr)
@ stdcall ScriptCacheGetHeight(ptr ptr ptr)
...
...
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