summaryrefslogtreecommitdiff
path: root/docs/pango_markup.md
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-09-01 15:07:19 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-09-01 15:07:19 +0000
commit6b7d85480653f83c5f5605bf99582d04d721fbb5 (patch)
treee8371e41e500a45949ce4c78850b49bd4e2cc407 /docs/pango_markup.md
parentc1009a25f561f94bb71f78fe9353ed6c4238e3a7 (diff)
parenta6ffe09f3dacab145abdf4da8025b6040fb69bb0 (diff)
downloadpango-6b7d85480653f83c5f5605bf99582d04d721fbb5.tar.gz
Merge branch 'matthiasc/for-main' into 'main'
Add docs for new attributes See merge request GNOME/pango!467
Diffstat (limited to 'docs/pango_markup.md')
-rw-r--r--docs/pango_markup.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/pango_markup.md b/docs/pango_markup.md
index 287bbc56..c9561fdf 100644
--- a/docs/pango_markup.md
+++ b/docs/pango_markup.md
@@ -152,6 +152,16 @@ rise
negative for subscript, positive for superscript.
Support for specifying rise in points was added in Pango 1.50.
+baseline_shift
+: Vertical displacement. In contrast to rise, baseline_shift attributes are cumulative.
+ The value can be a length in Pango units or in points (e.g. '5pt'), or 'superscript'
+ or 'subscript'. Available since 1.50.
+
+font_scale:
+: Font size change. The possible values are 'superscript' or 'subscript'. This is
+ similar to the font_size values 'smaller' or 'larger', but uses font metrics to
+ find the new size. Available since 1.50.
+
strikethrough
: 'true' or 'false' whether to strike through the text.