freetypy.Layout¶
-
class
freetypy.
Layout
¶ ⨎ This class handles very simple layout of left-to-right text.
Parameters: face : Face
The face for the layout.
text : unicode
The text to display in the layout.
size : float
The size of the text, in pixels.
Attributes
glyph_indices
Get the glyph indices of each glyph in the layout. ink_bbox
Get the tight bounding box ( BBox
) of the physical characters in the layout.layout_bbox
Get the logical bounding box ( BBox
) of the layout.points
Get the (x, y) location of each glyph in the layout.