Package: pango

Function pango:lbearing

Lambda List

pango:lbearing (rect)

Arguments

rect -- a pango:rectangle instance

Return Value

The integer with the left bearing.

Details

Extracts the left bearing from a pango:rectangle instance representing glyph extents. The left bearing is the distance from the horizontal origin to the farthest left point of the character. This is positive for characters drawn completely to the right of the glyph origin.
 

See also

2025-4-14