freetypy.Face.bbox

Face.bbox

The font bounding box. Coordinates are expressed in font units (see units_per_em). The box is large enough to contain any glyph from the font. Thus, BBox.y_max can be seen as the ‘maximum ascender’, and BBox.y_min as the ‘minimum descender’. Only relevant for scalable formats.

Note that the bounding box might be off by (at least) one pixel for hinted fonts. See Size_Metrics for further discussion.