fontGetExtentsForDirection
fn
void fontGetExtentsForDirection(harfbuzz.font.Font font, harfbuzz.types.Direction direction, out harfbuzz.types.FontExtents extents)Fetches the extents for a font in a text segment of 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 |
direction | The direction of the text segment |
extents | The #hb_font_extents_t retrieved |