summaryrefslogtreecommitdiff
path: root/docs/pango_markup.sgml
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-06-21 19:02:16 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-06-21 19:02:16 +0000
commita397495f91e6aa3455264cd122f5628a49c44b9c (patch)
tree3a1ba793ca3bf1535b14b9dba7695e240ef357c4 /docs/pango_markup.sgml
parentb247ac6629605fa106178aee55ff1a8407e9ce0b (diff)
downloadpango-a397495f91e6aa3455264cd122f5628a49c44b9c.tar.gz
use x-large instead of 100 in the markup example. (#142355, Doug Quale).
Mon Jun 21 14:42:02 2004 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml: use x-large instead of 100 in the markup example. (#142355, Doug Quale). Fix the 'size' documentation to say 1024ths rather than 1000ths. Document using font_desc='12.5' instead.
Diffstat (limited to 'docs/pango_markup.sgml')
-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>