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
d974a4b2
Commit
d974a4b2
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 ScriptJustify.
parent
7714a3f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
usp10.c
dlls/usp10/usp10.c
+11
-0
usp10.spec
dlls/usp10/usp10.spec
+1
-1
No files found.
dlls/usp10/usp10.c
View file @
d974a4b2
...
...
@@ -1828,3 +1828,14 @@ HRESULT WINAPI ScriptApplyLogicalWidth(const int *dx, int num_chars, int num_gly
for
(
i
=
0
;
i
<
num_chars
;
i
++
)
justify
[
i
]
=
advance
[
i
];
return
S_OK
;
}
HRESULT
WINAPI
ScriptJustify
(
const
SCRIPT_VISATTR
*
sva
,
const
int
*
advance
,
int
num_glyphs
,
int
dx
,
int
min_kashida
,
int
*
justify
)
{
int
i
;
FIXME
(
"(%p, %p, %d, %d, %d, %p)
\n
"
,
sva
,
advance
,
num_glyphs
,
dx
,
min_kashida
,
justify
);
for
(
i
=
0
;
i
<
num_glyphs
;
i
++
)
justify
[
i
]
=
advance
[
i
];
return
S_OK
;
}
dlls/usp10/usp10.spec
View file @
d974a4b2
...
...
@@ -12,7 +12,7 @@
@ stdcall ScriptGetProperties(ptr long)
@ stdcall ScriptIsComplex(wstr long long)
@ stdcall ScriptItemize(wstr long long ptr ptr ptr ptr)
@ st
ub ScriptJustify
@ st
dcall ScriptJustify(ptr ptr long long long ptr)
@ stdcall ScriptLayout(long ptr ptr ptr)
@ stdcall ScriptPlace(ptr ptr ptr long ptr ptr ptr ptr ptr)
@ stdcall ScriptRecordDigitSubstitution(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