Class GlyphHelper
Helper function for code points and glyph indices.
public static class GlyphHelper
- Inheritance
-
objectGlyphHelper
Methods
- GlyphIndexFromCodePoint(int, XFont)
Returns the glyph ID for the specified code point, or 0, if the specified font has no glyph for this code point.
- GlyphIndicesFromString(string, XFont)
Maps the characters of a UTF-32 string to an array of glyph indexes. Never fails, invalid surrogate pairs are simply skipped.