mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Added stubbed support for ScriptGetFontProperties.
This commit is contained in:
parent
9fb00ff5c8
commit
b671180c6a
@ -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);
|
||||
|
@ -6,7 +6,7 @@
|
||||
@ stub ScriptCPtoX
|
||||
@ stub ScriptFreeCache
|
||||
@ stub ScriptGetCMap
|
||||
@ stub ScriptGetFontProperties
|
||||
@ stdcall ScriptGetFontProperties(long ptr ptr)
|
||||
@ stub ScriptGetGlyphABCWidth
|
||||
@ stub ScriptGetLogicalWidths
|
||||
@ stdcall ScriptGetProperties(ptr long)
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user