summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-02 07:53:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-02 08:36:55 -0400
commit18d161ffd7fb0461e938da5d049d7c401e296ef8 (patch)
treece146889de6aac293d7da4b178ea71df18e9084e
parentd7f16a6ec17a847290ea4034f79afaa0c33f17f5 (diff)
downloadpango-improve-wrap-docs.tar.gz
docs: Add some details for PangoWrapimprove-wrap-docs
This clarifies things for myself. Fixes: #573
-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,