3.22 <PangoWrapMode>

Enumeration: <PangoWrapMode>

<PangoWrapMode> describes how to wrap the lines of a <PangoLayout> 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.

Members

word

wrap lines at word boundaries.

char

wrap lines at character boundaries.

word-char

wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

none

do not wrap.