GetGlyphId(Int32) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Looks up the glyph id of a character code.

public abstract int GetGlyphId(int code)

Parameters

code
Int32

The character code: a byte for Macintosh subtables, a Unicode scalar value for Unicode subtables.

Returns

Int32
The glyph id; 0 (the missing glyph) when the subtable does not map the code.