FontGetVariantGlyphFunc


Description:

[ CCode ( cname = "hb_font_get_variation_glyph_func_t" , instance_pos = 5.9 ) ]
public delegate Bool FontGetVariantGlyphFunc (Font font, void* font_data, Codepoint unicode, Codepoint variation_selector, Codepoint glyph)

A virtual method for the FontFuncs of an Font object.

This method should retrieve the glyph ID for a specified Unicode code point followed by a specified Variation Selector code point. Glyph IDs must be returned in a Codepoint output parameter.

Parameters:

font

Font to work upon

font_data

font user data pointer

unicode

The Unicode code point to query

variation_selector

The variation-selector code point to query

glyph

The glyph ID retrieved

user_data

User data pointer passed by the caller

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz