diff options
author | Havoc Pennington <hp@redhat.com> | 2001-02-28 21:15:15 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-02-28 21:15:15 +0000 |
commit | 94742208d8f1e274d8a5db4515acfbd4b3d9e4fa (patch) | |
tree | 57e31004de3d14316ad1d54a416bf680b45c3cf2 /docs | |
parent | 77626cb70d108fcba67dbc6085b864fcf166598d (diff) | |
download | pango-94742208d8f1e274d8a5db4515acfbd4b3d9e4fa.tar.gz |
add approximate_digit_width field
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
approximate_digit_width field
* pango/pangox.c (pango_x_font_get_metrics): make up an
approximate digit width number
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tmpl/fonts.sgml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/tmpl/fonts.sgml b/docs/tmpl/fonts.sgml index 0b93033b..ab1af34c 100644 --- a/docs/tmpl/fonts.sgml +++ b/docs/tmpl/fonts.sgml @@ -42,6 +42,13 @@ the characteristics of a font to load. @PANGO_STYLE_OBLIQUE: @PANGO_STYLE_ITALIC: +<!-- ##### MACRO PANGO_TYPE_STYLE ##### --> +<para> + +</para> + + + <!-- ##### ENUM PangoWeight ##### --> <para> An enumeration specifying the weight (boldness) of a font. This is a numerical @@ -55,6 +62,13 @@ value ranging from 100 to 900, but there are two predefined values: @PANGO_WEIGHT_ULTRABOLD: @PANGO_WEIGHT_HEAVY: +<!-- ##### MACRO PANGO_TYPE_WEIGHT ##### --> +<para> + +</para> + + + <!-- ##### ENUM PangoVariant ##### --> <para> An enumeration specifying capitalization variant of the font. @@ -64,6 +78,13 @@ An enumeration specifying capitalization variant of the font. @PANGO_VARIANT_SMALL_CAPS: A font with the lower case characters replaced by smaller variants of the capital characters. +<!-- ##### MACRO PANGO_TYPE_VARIANT ##### --> +<para> + +</para> + + + <!-- ##### ENUM PangoStretch ##### --> <para> An enumeration specifying the width of the font relative to other designs @@ -80,6 +101,13 @@ within a family. @PANGO_STRETCH_EXTRA_EXPANDED: @PANGO_STRETCH_ULTRA_EXPANDED: +<!-- ##### MACRO PANGO_TYPE_STRETCH ##### --> +<para> + +</para> + + + <!-- ##### FUNCTION pango_font_description_copy ##### --> <para> @@ -89,6 +117,16 @@ within a family. @Returns: +<!-- ##### FUNCTION pango_font_description_equal ##### --> +<para> + +</para> + +@desc1: +@desc2: +@Returns: + + <!-- ##### FUNCTION pango_font_descriptions_free ##### --> <para> @@ -124,6 +162,15 @@ within a family. @Returns: +<!-- ##### FUNCTION pango_font_description_to_filename ##### --> +<para> + +</para> + +@desc: +@Returns: + + <!-- ##### STRUCT PangoFont ##### --> <para> The #PangoFont structure is used to represent @@ -188,6 +235,8 @@ a font. It contains the following members: @descent: the logical extent of the font beneath the baseline. as @ascent + @descent. Individual characters may have extents exceeding this value. +@approximate_char_width: +@approximate_digit_width: <!-- ##### FUNCTION pango_font_find_shaper ##### --> <para> |