summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-28 18:56:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-29 08:12:11 -0500
commit2ebc3d7501d5c60d6a01851dea348d13bf99b69c (patch)
tree87b5eb82cffdc373d1160974db17582e23a45c82
parent6f775850ae51d7b0db3a5ef9d6c824979a4b38c1 (diff)
downloadpango-2ebc3d7501d5c60d6a01851dea348d13bf99b69c.tar.gz
docs: Add a note on tabs
Explain that tabs really only work with PANGO_ALIGN_LEFT.
-rw-r--r--pango/pango-layout.c3
1 files changed, 2 insertions, 1 deletions
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,