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_indicesGet the glyph indices of each glyph in the layout. ink_bboxGet the tight bounding box ( BBox) of the physical characters in the layout.layout_bboxGet the logical bounding box ( BBox) of the layout.pointsGet the (x, y) location of each glyph in the layout.