[pango/tab-align: 1/8] docs: Add a note on tabs




commit 2ebc3d7501d5c60d6a01851dea348d13bf99b69c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 28 18:56:59 2021 -0500

    docs: Add a note on tabs
    
    Explain that tabs really only work with
    PANGO_ALIGN_LEFT.

 pango/pango-layout.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 7b32eeef..ebdea36a 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -1017,7 +1017,8 @@ pango_layout_get_alignment (PangoLayout *layout)
  *
  * Note that tabs and justification conflict with each other:
  * Justification will move content away from its tab-aligned
- * positions.
+ * positions. The same is true for alignments other than
+ * %PANGO_ALIGN_LEFT.
  */
 void
 pango_layout_set_tabs (PangoLayout   *layout,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]