summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-07 10:37:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-08 21:35:55 -0400
commit623134f48ad998e1392839f7346c780228ddac45 (patch)
tree606d44e9f51b5a692b69e183999253e96080f06c /docs
parented13e662d1a327671fc9f1a3ec7d71c4bbfe1280 (diff)
downloadpango-623134f48ad998e1392839f7346c780228ddac45.tar.gz
Add line-height attributes
Add attributes for line-height, in a relative and absolute variant. This will be used to grow the logical extents of runs in a way that is compatible with CSS semantics. In markup, we support a new line_height attribute that will be interpreted as absolute if it is an integer > 1024, and as a relative factor otherwise.
Diffstat (limited to 'docs')
-rw-r--r--docs/pango_markup.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/pango_markup.md b/docs/pango_markup.md
index 16359777..03718907 100644
--- a/docs/pango_markup.md
+++ b/docs/pango_markup.md
@@ -190,6 +190,12 @@ allow_breaks
: 'true' or 'false' to indicate whether breaking lines is allowed. Available
since Pango 1.44.
+line_height
+: Overrides the line height. The value can be either a factor (< 1024) that is
+ used to scale up the logical extents of runs or an absolute value (in 1024th
+ of a point).
+ Available since Pango 1.50.
+
## Convenience Tags
`<b>`