-
Home
-
API
-
Broadside.Fonts
-
FontCharacterMap
-
Methods
-
GetGlyphId(Int32)
GetGlyphId(Int32) Method
Definition
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.