diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-02 07:53:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-02 08:36:55 -0400 |
commit | 18d161ffd7fb0461e938da5d049d7c401e296ef8 (patch) | |
tree | ce146889de6aac293d7da4b178ea71df18e9084e /pango | |
parent | d7f16a6ec17a847290ea4034f79afaa0c33f17f5 (diff) | |
download | pango-18d161ffd7fb0461e938da5d049d7c401e296ef8.tar.gz |
docs: Add some details for PangoWrapimprove-wrap-docs
This clarifies things for myself.
Fixes: #573
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index f310e7a3..7042ec44 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -70,6 +70,11 @@ typedef enum { * * `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. */ typedef enum { PANGO_WRAP_WORD, |