nw::font::ResFontBase::FindGlyphIndex Member Function

Syntax

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

Arguments

Name Description
in pMap Pointer to the search target CMAP block.
in c Character code of character for which glyph index is being obtained.

Return Values

The glyph index of the character. If the target character is not included in the font, the function returns ResFontBase::GLYPH_INDEX_NOT_FOUND.

Description

Searches from the CMAP block for the character glyph index.


CONFIDENTIAL