From ec16e4c5f9e5c4b6ddcdee94ce577aa934722eb5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 31 Mar 2021 19:25:12 -0400 Subject: docs: Add missing attributes in markup docs Some of the more recent additions did never make it into the docs, such as overline, insert_hyphens and allow_breaks. --- docs/pango_markup.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/pango_markup.md b/docs/pango_markup.md index 8541a71f..8291dc3c 100644 --- a/docs/pango_markup.md +++ b/docs/pango_markup.md @@ -136,6 +136,13 @@ underline_color : The color of underlines; an RGB color specification such as '#00FF00' or a color name such as 'red'. +overline +: One of 'none' or 'single'. Overline support was added in Pango 1.46/ + +overline_color +: The color of overlines; an RGB color specification such as '#00FF00' or a color + name such as 'red'. Overline support was added in Pango 1.46/ + rise : Vertical displacement, in Pango units. Can be negative for subscript, positive for superscript. @@ -165,6 +172,19 @@ gravity gravity_hint : One of 'natural', 'strong', 'line'. +show +: Specifies what special characters to show visibly. The value can be 'none' + or a combination of 'spaces', 'line-breaks' and 'ignorables', combined with '|'. + Support for showing special characters was added in Pango 1.44. + +insert_hyphens +: 'true' or 'false' to indicate whether hyphens should be inserted when breaking + lines in the middle of words. Available since Pango 1.44. + +allow_breaks +: 'true' or 'false' to indicate whether breaking lines is allowed. Available + since Pango 1.44. + ## Convenience Tags `` -- cgit v1.2.1