summaryrefslogtreecommitdiff
path: root/docs/pango_markup.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pango_markup.md')
-rw-r--r--docs/pango_markup.md6
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