diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-09-01 10:47:04 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-09-01 10:49:43 -0400 |
commit | a6ffe09f3dacab145abdf4da8025b6040fb69bb0 (patch) | |
tree | e8371e41e500a45949ce4c78850b49bd4e2cc407 /docs/pango_markup.md | |
parent | c1009a25f561f94bb71f78fe9353ed6c4238e3a7 (diff) | |
download | pango-a6ffe09f3dacab145abdf4da8025b6040fb69bb0.tar.gz |
Add docs for new attributes
Diffstat (limited to 'docs/pango_markup.md')
-rw-r--r-- | docs/pango_markup.md | 10 |
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. |