nn::font::ResFontBase::FindGlyphIndex Member Function

Syntax

protected:
GlyphIndex FindGlyphIndex(
     const FontCodeMap * pMap,
     CharCode    c
) const;

Arguments

Name Description
in pMap Pointer to the body of the CMAP block to search.
in c Character code for which to get a glyph index.

Return Values

The character's glyph index. If the font does not contain the target character, ResFontBase::GLYPH_INDEX_NOT_FOUND is returned.

Description

Searches for a character's glyph index from a CMAP block.


CONFIDENTIAL