diff options
author | Sven Neumann <sven@gimp.org> | 2002-03-26 14:40:58 +0000 |
---|---|---|
committer | Sven Neumann <neo@src.gnome.org> | 2002-03-26 14:40:58 +0000 |
commit | 6f623dc2dca270ef63f518a951411c1d614ffd4e (patch) | |
tree | 6980f1e973d0ed09c7fbabcc2f9087a926534973 /pango/pangoft2-private.h | |
parent | 233b328c26ea0ed3bccc9e93358549808531886a (diff) | |
download | pango-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/pangoft2-private.h')
-rw-r--r-- | pango/pangoft2-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangoft2-private.h b/pango/pangoft2-private.h index 0a9ff03b..cbc06aac 100644 --- a/pango/pangoft2-private.h +++ b/pango/pangoft2-private.h @@ -71,6 +71,8 @@ struct _PangoFT2Font PangoFontMap *fontmap; PangoFontDescription *description; + GSList *metrics_by_lang; + /* If TRUE, font is in cache of recently unused fonts and not otherwise * in use. */ gboolean in_cache; |