IDWriteFontFace.GetGlyphIndices

<summary> Returns the nominal mapping of UTF-32 Unicode code points to glyph indices as defined by the font 'cmap' table. Note that this mapping is primarily provided for line layout engines built on top of the physical font API. Because of OpenType glyph substitution and line layout character substitution, the nominal conversion does not always correspond to how a Unicode string will map to glyph indices when rendering using a particular font face. Also, note that Unicode Variation Selectors provide for alternate mappings for character to glyph. This call will always return the default variant. </summary> <param name="codePoints">An array of UTF-32 code points to obtain nominal glyph indices from.</param> <param name="codePointCount">The number of elements in the codePoints array.</param> <param name="glyphIndices">Array of nominal glyph indices filled by this function.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteFontFace
extern (Windows)
HRESULT
GetGlyphIndices
(
const(UINT32)* codePoints
,,
UINT16* glyphIndices
)

Meta