ScriptGetFontProperties function

Retrieves information from the font cache on the special glyphs used by a font.

Syntax


HRESULT ScriptGetFontProperties(
  _In_     HDC hdc,
  _Inout_  SCRIPT_CACHE *psc,
  _Out_    SCRIPT_FONTPROPERTIES *sfp
);

Parameters

hdc [in]

Optional. Handle to the device context. For more information, see Caching.

psc [in, out]

Pointer to a SCRIPT_CACHE structure identifying the script cache.

sfp [out]

Pointer to a SCRIPT_FONTPROPERTIES structure in which this function retrieves the information from the font cache.

Return value

Returns 0 if successful. The function returns a nonzero HRESULT value if it does not succeed. The application can test the return value with the SUCCEEDED and FAILED macros.

Remarks

The structure retrieved by this function identifies the glyphs that are used for blanks, missing glyphs, invalid combinations, and the smallest kashida.

Important  Starting with Windows 8: To maintain the ability to run on Windows 7, a module that uses Uniscribe must specify Usp10.lib before gdi32.lib in its library list.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Internet Explorer 5 or later on Windows Me/98/95

Header

Usp10.h

Library

Usp10.lib

DLL

Usp10.dll

See also

Uniscribe
Uniscribe Functions
SCRIPT_CACHE
SCRIPT_FONTPROPERTIES

 

 

Community Additions

ADD
Show:
© 2014 Microsoft