ot_layout_lookup_get_optical_bound


Description:


[ Version ( since = "5.3.0" ) ]
public Position ot_layout_lookup_get_optical_bound (Font font, uint lookup_index, Direction direction, Codepoint glyph)

Fetches the optical bound of a glyph positioned at the margin of text.

The direction identifies which edge of the glyph to query.

Parameters:

font

a font.

lookup_index

index of the feature lookup to query.

direction

edge of the glyph to query.

glyph

a glyph id.

Returns:

Adjustment value. Negative values mean the glyph will stick out of the margin.


Namespace: HarfBuzz