FontFaceRef.glyphId

GlyphId glyphId(dchar codePoint) @safe nothrow @nogc const;

Maps a code point to a glyph id.

Parameters

codePointthe code point.

Returns

The glyph id, or GLYPH_NOTDEF when the face has no glyph for

the code point (a success, not an error).