summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-02-28 20:22:09 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-02-28 20:22:09 +0000
commit77626cb70d108fcba67dbc6085b864fcf166598d (patch)
tree6456900bad57025c22579b6490a2b71f71e237eb /pango/pango-font.h
parent835ef9ddfc5d71b136ed5c491533d76875bd6951 (diff)
downloadpango-77626cb70d108fcba67dbc6085b864fcf166598d.tar.gz
Add approximate_char_width field
2001-02-28 Havoc Pennington <hp@redhat.com> * pango/pango-font.h (struct _PangoFontMetrics): Add approximate_char_width field * pango/pangox.c (get_font_metrics_from_subfonts): "compute" the approximate char width. Other backends need to add this.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index cac1b7bb..109a7819 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -90,6 +90,7 @@ struct _PangoFontMetrics
{
int ascent;
int descent;
+ int approximate_char_width;
};
PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc);