From 18d161ffd7fb0461e938da5d049d7c401e296ef8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 2 Jul 2021 07:53:02 -0400 Subject: docs: Add some details for PangoWrap This clarifies things for myself. Fixes: #573 --- pango/pango-layout.h | 5 +++++ 1 file changed, 5 insertions(+) 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, -- cgit v1.2.1