summaryrefslogtreecommitdiff
path: root/pango/pangoxft-private.h
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2002-03-26 14:40:58 +0000
committerSven Neumann <neo@src.gnome.org>2002-03-26 14:40:58 +0000
commit6f623dc2dca270ef63f518a951411c1d614ffd4e (patch)
tree6980f1e973d0ed09c7fbabcc2f9087a926534973 /pango/pangoxft-private.h
parent233b328c26ea0ed3bccc9e93358549808531886a (diff)
downloadpango-6f623dc2dca270ef63f518a951411c1d614ffd4e.tar.gz
pango/pangoft2-private.h calculate average_char_width and
2002-03-26 Sven Neumann <sven@gimp.org> * pango/pangoft2-private.h * pango/pangoft2.c (pango_ft2_font_get_metrics): calculate average_char_width and average_digit_width by measuring sample layouts and cache font metrics per language just like PangoX does, #53425. * pango/pangoxft-font.c * pango/pangoxft-private.h: the same approach for average_char_width and average_digit_width as in PangoFT2, #53425.
Diffstat (limited to 'pango/pangoxft-private.h')
-rw-r--r--pango/pangoxft-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangoxft-private.h b/pango/pangoxft-private.h
index 57db3efa..ac0bb44a 100644
--- a/pango/pangoxft-private.h
+++ b/pango/pangoxft-private.h
@@ -40,6 +40,8 @@ struct _PangoXftFont
PangoFontDescription *description;
PangoOTInfo *ot_info;
+ GSList *metrics_by_lang;
+
guint16 mini_width;
guint16 mini_height;
guint16 mini_pad;