pango.types.WrapMode describes how to wrap the lines of a pango.layout.Layout to the desired width.
For @PANGO_WRAP_WORD, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For @PANGO_WRAP_CHAR, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm.
wrap lines at word boundaries.
wrap lines at character boundaries.
wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.
pango.types.WrapMode describes how to wrap the lines of a pango.layout.Layout to the desired width.
For @PANGO_WRAP_WORD, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For @PANGO_WRAP_CHAR, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm.