diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-11-23 15:42:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-11-23 15:42:44 +0000 |
commit | db50679d56c8ded8a23f239b24a8cd9f1f2061c2 (patch) | |
tree | 8c7bc025eff030673c83214ecd410bf092ff3ceb /docs/pango_markup.sgml | |
parent | a0bbc6ef8b7dc902f20a2655cc54082e6acdca84 (diff) | |
download | pango-db50679d56c8ded8a23f239b24a8cd9f1f2061c2.tar.gz |
Add underline_color and strikethrough_color attribute types. (#147616,
Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add underline_color
and strikethrough_color attribute types. (#147616, Morten
Welinder)
* pango/pango-markup.c docs/pango_markup.sgml: Add
corresponding 'underline_color' and
'strikethrough_color' attributes for <span>.
* pango/pango-renderer.c (pango_renderer_default_prepare_run):
Implement underline and strikethrough colors.
* pango/pango-renderer.c: Fix some bigs with updating
underlines/strikethrough state.
* pango/pango-renderer.c (get_total_matrix): Fix a const
warning.
* docs/pango-sections.txt: Update
Diffstat (limited to 'docs/pango_markup.sgml')
-rw-r--r-- | docs/pango_markup.sgml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/pango_markup.sgml b/docs/pango_markup.sgml index 4a55356e..7bd81ac3 100644 --- a/docs/pango_markup.sgml +++ b/docs/pango_markup.sgml @@ -69,7 +69,7 @@ Synonym for font_family <varlistentry><term>size</term> <listitem><para> -Font size in 1024ths of a point, one of the absolute sizes +Font size in 1024ths of a point, 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'. If you want to specify a absolute size, it's usually easier @@ -127,6 +127,14 @@ One of 'single', 'double', 'low', 'none' </para></listitem> </varlistentry> +<varlistentry><term>underline_col +or</term> +<listitem><para> +The color of underlines; an RGB color specification such as '#00FF00' +or a color name such as 'red' +</para></listitem> +</varlistentry> + <varlistentry><term>rise</term> <listitem><para> Vertical displacement, in 10000ths of an em. Can be negative for @@ -140,6 +148,13 @@ subscript, positive for superscript. </para></listitem> </varlistentry> +<varlistentry><term>strikethrough_color</term> +<listitem><para> +The color of strikethrough lines; an RGB color specification such as +'#00FF00' or a color name such as 'red' +</para></listitem> +</varlistentry> + <varlistentry><term>fallback</term> <listitem><para> 'true' or 'false' whether to enable fallback. If disabled, then characters |