summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/pango_markup.sgml9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/pango_markup.sgml b/docs/pango_markup.sgml
index 56f2ddae..4a55356e 100644
--- a/docs/pango_markup.sgml
+++ b/docs/pango_markup.sgml
@@ -35,7 +35,7 @@ You can parse a marked-up string into the string text plus a
<para>
A simple example of a marked-up string might be:
-<literal>"&lt;span foreground="blue" size="100"&gt;Blue text&lt;/span&gt; is &lt;i&gt;cool&lt;/i&gt;!"</literal>
+<literal>"&lt;span foreground="blue" size="x-large"&gt;Blue text&lt;/span&gt; is &lt;i&gt;cool&lt;/i&gt;!"</literal>
</para>
<para>
@@ -69,9 +69,14 @@ Synonym for font_family
<varlistentry><term>size</term>
<listitem><para>
-Font size in 1000ths of a point, one of the absolute sizes
+Font size in 1024ths of a point, 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'.
+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_desc'; you can use
+<literal>font_desc='12.5'</literal> rather than
+<literal>size='12800'</literal>.
</para></listitem>
</varlistentry>