summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-08 16:54:58 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-08-08 16:54:58 +0000
commitb312191e48c2ea8f0894c4077af69f1aff6c195c (patch)
tree45ec615937865495ee979edaaa2ca4557fdb21fc /pango/pango-layout.c
parentcc74b40a0c5f3bf467c4766696d6a2ccdf1237db (diff)
parent6b21f287d49a8df8ee8981cf9d00a29aed754561 (diff)
downloadpango-b312191e48c2ea8f0894c4077af69f1aff6c195c.tar.gz
Merge branch 'matthiasc/for-main' into 'main'
docs: Some clarifications See merge request GNOME/pango!392
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index ae0bc330..b39ca62b 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5286,8 +5286,13 @@ pango_layout_line_get_extents (PangoLayoutLine *line,
* @line: a `PangoLayoutLine`
* @height: (out) (optional): return location for the line height
*
- * Computes the height of the line, i.e. the distance between
- * this and the previous lines baseline.
+ * Computes the height of the line, as the maximum of the heights
+ * of fonts used in this line.
+ *
+ * Note that the actual baseline-to-baseline distance between lines
+ * of text is influenced by other factors, such as
+ * [method@Pango.Layout.set_spacing] and
+ * [method@Pango.Layout.set_line_spacing].
*
* Since: 1.44
*/