fontGetGlyphExtentsForOrigin

Fetches the #hb_glyph_extents_t data for a glyph ID in the specified font, with respect to the origin in a text segment in the specified direction.

Calls the appropriate direction-specific variant (horizontal or vertical) depending on the value of direction.

Parameters

font#hb_font_t to work upon
glyphThe glyph ID to query
directionThe direction of the text segment
extentsThe #hb_glyph_extents_t retrieved

Returns

true if data found, false otherwise