summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-02 12:47:53 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-07-02 12:47:53 +0000
commitb7c7eb7a7c80d8df18ac2c97fb03dbbfaf0686cb (patch)
treece146889de6aac293d7da4b178ea71df18e9084e
parentd7f16a6ec17a847290ea4034f79afaa0c33f17f5 (diff)
parent18d161ffd7fb0461e938da5d049d7c401e296ef8 (diff)
downloadpango-b7c7eb7a7c80d8df18ac2c97fb03dbbfaf0686cb.tar.gz
Merge branch 'improve-wrap-docs' into 'master'
docs: Add some details for PangoWrap Closes #573 See merge request GNOME/pango!355
-rw-r--r--pango/pango-layout.h5
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,