FontGetGlyphNameFunc


Description:

[ CCode ( cname = "hb_font_get_glyph_name_func_t" , instance_pos = 4.9 ) ]
public delegate Bool FontGetGlyphNameFunc (Font font, void* font_data, Codepoint glyph, out char[] name)

A virtual method for the FontFuncs of an Font object.

This method should retrieve the glyph name that corresponds to a glyph ID. The name should be returned in a string output parameter.

Parameters:

font

Font to work upon

font_data

font user data pointer

glyph

The glyph ID to query

name

Name string retrieved for the glyph ID

size

Length of the glyph-name string retrieved

user_data

User data pointer passed by the caller

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz