diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-06-21 19:02:16 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-06-21 19:02:16 +0000 |
commit | a397495f91e6aa3455264cd122f5628a49c44b9c (patch) | |
tree | 3a1ba793ca3bf1535b14b9dba7695e240ef357c4 /docs | |
parent | b247ac6629605fa106178aee55ff1a8407e9ce0b (diff) | |
download | pango-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')
-rw-r--r-- | docs/pango_markup.sgml | 9 |
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>"<span foreground="blue" size="100">Blue text</span> is <i>cool</i>!"</literal> +<literal>"<span foreground="blue" size="x-large">Blue text</span> is <i>cool</i>!"</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> |