Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices.
HRESULT GetVerticalGlyphVariants(
UINT32 glyphCount,
[in] UINT16 const *nominalGlyphIndices,
[out] UINT16 *verticalGlyphIndices
);
glyphCount
Type: UINT32
The number of glyphs to retrieve.
[in] nominalGlyphIndices
Type: const UINT16*
Original glyph indices from cmap.
[out] verticalGlyphIndices
Type: UINT16*
The vertical form of glyph indices.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The retrieval uses the font's 'vert' table. This is used in CJK vertical layout so the correct characters are shown.
Call GetGlyphIndices to get the nominal glyph indices, followed by calling this to remap the to the substituted forms, when the run is sideways, and the font has vertical glyph variants. See HasVerticalGlyphVariants for more info.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dwrite_1.h |
Library | Dwrite_1.lib |
DLL | Dwrite_1.dll |
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now