ScriptGetFontProperties (Compact 2013)

3/28/2014

This function returns information from the font cache on the special glyphs used by a font.

Syntax

HRESULT WINAPI ScriptGetFontProperties(
  HDC hdc, 
  SCRIPT_CACHE* psc, 
  SCRIPT_FONTPROPERTIES* sfp 
);

Parameters

  • hdc
    [in] Handle to a device context. This parameter is optional.

Return Value

If the function succeeds, the return value is zero.

If the function fails, it returns a nonzero value. If any other unrecoverable error is encountered, it is returned as an HRESULT.

Remarks

ScriptGetFontProperties gets a SCRIPT_FONTPROPERTIES structure that tells what glyphs are used for blanks, missing glyphs, invalid combinations, and the smallest kashida.

Requirements

Header

usp10.h

Library

Uspce.lib

See Also

Reference

Uniscribe Functions
SCRIPT_CACHE
SCRIPT_FONTPROPERTIES