freetypy.Layout

class freetypy.Layout

⨎ Manages 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.
  • load_flags (LOAD flags, optional) – Any glyph load flags
__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

Attributes

ink_bbox The tight bounding box (BBox) of the physical characters in the layout.
layout Returns a list of tuples describing the layout.
layout_bbox The logical bounding box (BBox) of the layout.