glyph_to_string


Description:

[ Version ( since = "0.9.2" ) ]
public void glyph_to_string (Codepoint glyph, out char[] s)

Fetches the name of the specified glyph ID in font and returns it in string s.

If the glyph ID has no name in font, a string of the form `gidDDD` is generated, with `DDD` being the glyph ID.

According to the OpenType specification, glyph names are limited to 63 characters and can only contain (a subset of) ASCII.

Parameters:

glyph

The glyph ID to query

s

The string containing the glyph name

font

Font to work upon

size

Length of string s