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




commit 8a1ab41ab217b4a91ceea6499b4b3edb9b6d8420
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]