fontAddGlyphOriginForDirection

Adds the origin coordinates to an (X,Y) point coordinate, in the specified glyph ID in the specified font.

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

Parameters

font harfbuzz.font.Font

#hb_font_t to work upon

glyph harfbuzz.types.Codepoint

The glyph ID to query

direction harfbuzz.types.Direction

The direction of the text segment

x harfbuzz.types.Position

Input = The original X coordinate

y harfbuzz.types.Position

Input = The original Y coordinate