diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 01:40:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 10:38:40 -0400 |
commit | 59d38cde20425696543d262c5329b14056915614 (patch) | |
tree | 8baccfcbf663d7431c6cab69f42f4fd3712b3f8d /docs/pango_markup.md | |
parent | 9d68eaf2d7366bc448f722d7638714fba9c34460 (diff) | |
download | pango-59d38cde20425696543d262c5329b14056915614.tar.gz |
markup: Allow specifying size as percentagemarkup-sizes
Accept values like 200%, in addition to other
ways of specifying sizes in markup.
Fixes: #23
Diffstat (limited to 'docs/pango_markup.md')
-rw-r--r-- | docs/pango_markup.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/pango_markup.md b/docs/pango_markup.md index 408bead9..c82de9d5 100644 --- a/docs/pango_markup.md +++ b/docs/pango_markup.md @@ -79,11 +79,13 @@ font_size size : Font size in 1024ths of a point, or in points (e.g. '12.5pt'), or one of the absolute sizes 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', - 'xx-large', or one of the relative sizes 'smaller' or 'larger'. + 'xx-large', or a percentage (e.g. '200%'), or one of the relative sizes 'smaller' + or 'larger'. If you want to specify a absolute size, it's usually easier to take advantage of the ability to specify a partial font description using 'font'; you can use font='12.5' rather than size='12800' or size='12.5pt'. - Support for specifying font sizes in points was added in Pango 1.50. + Support for specifying font sizes in points or as percentages was added in + Pango 1.50. font_style style |