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
b671180c
Commit
b671180c
authored
Aug 01, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Aug 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubbed support for ScriptGetFontProperties.
parent
9fb00ff5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
usp10.c
dlls/usp10/usp10.c
+15
-0
usp10.spec
dlls/usp10/usp10.spec
+1
-1
usp10.h
include/usp10.h
+12
-0
No files found.
dlls/usp10/usp10.c
View file @
b671180c
...
...
@@ -51,6 +51,21 @@ HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***ppSp, int *piNumSc
return
E_NOTIMPL
;
}
HRESULT
WINAPI
ScriptGetFontProperties
(
HDC
hdc
,
SCRIPT_CACHE
*
psc
,
SCRIPT_FONTPROPERTIES
*
sfp
)
{
FIXME
(
"%p,%p,%p
\n
"
,
hdc
,
psc
,
sfp
);
/* return something sensible? */
if
(
NULL
!=
sfp
)
{
sfp
->
cBytes
=
sizeof
(
SCRIPT_FONTPROPERTIES
);
sfp
->
wgBlank
=
0
;
sfp
->
wgDefault
=
0
;
sfp
->
wgInvalid
=
0
;
sfp
->
wgKashida
=
1
;
sfp
->
iKashidaWidth
=
0
;
}
return
0
;
}
HRESULT
WINAPI
ScriptRecordDigitSubstitution
(
LCID
Locale
,
SCRIPT_DIGITSUBSTITUTE
*
psds
)
{
FIXME
(
"%ld,%p
\n
"
,
Locale
,
psds
);
...
...
dlls/usp10/usp10.spec
View file @
b671180c
...
...
@@ -6,7 +6,7 @@
@ stub ScriptCPtoX
@ stub ScriptFreeCache
@ stub ScriptGetCMap
@ st
ub ScriptGetFontProperties
@ st
dcall ScriptGetFontProperties(long ptr ptr)
@ stub ScriptGetGlyphABCWidth
@ stub ScriptGetLogicalWidths
@ stdcall ScriptGetProperties(ptr long)
...
...
include/usp10.h
View file @
b671180c
...
...
@@ -87,6 +87,17 @@ typedef struct tag_SCRIPT_DIGITSUBSTITUTE {
DWORD
dwReserved
;
}
SCRIPT_DIGITSUBSTITUTE
;
typedef
struct
tag_SCRIPT_FONTPROPERTIES
{
int
cBytes
;
WORD
wgBlank
;
WORD
wgDefault
;
WORD
wgInvalid
;
WORD
wgKashida
;
int
iKashidaWidth
;
}
SCRIPT_FONTPROPERTIES
;
typedef
void
*
SCRIPT_CACHE
;
/* Function Declairations */
HRESULT
WINAPI
ScriptGetProperties
(
const
SCRIPT_PROPERTIES
***
ppSp
,
int
*
piNumScripts
);
...
...
@@ -96,5 +107,6 @@ HRESULT WINAPI ScriptApplyDigitSubstitution(const SCRIPT_DIGITSUBSTITUTE* psds,
HRESULT
WINAPI
ScriptItemize
(
const
WCHAR
*
pwcInChars
,
int
cInChars
,
int
cMaxItems
,
const
SCRIPT_CONTROL
*
psControl
,
const
SCRIPT_STATE
*
psState
,
SCRIPT_ITEM
*
pItems
,
int
*
pcItems
);
HRESULT
WINAPI
ScriptGetFontProperties
(
HDC
hdc
,
SCRIPT_CACHE
*
psc
,
SCRIPT_FONTPROPERTIES
*
sfp
);
#endif
/* __USP10_H */
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