diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-12-18 17:05:14 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-12-18 17:05:14 +0000 |
commit | 3af3b3e4e1e5de7ad3f49b91295f4d77310caf53 (patch) | |
tree | d5b8851fb4c6c3f367bdb46cc411089a8dc216de /pango/pangowin32-private.h | |
parent | fc8df84e11bfba0d7fb4180524e80baba274e226 (diff) | |
download | pango-3af3b3e4e1e5de7ad3f49b91295f4d77310caf53.tar.gz |
pango/pangowin32-private.h Cache metrics by language, like the other
2004-12-18 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-private.h
* pango/pangowin32.c (pango_win32_font_get_metrics): Cache metrics
by language, like the other backends do. Don't try to get the
width of the 0..9 digit string if the font doesn't cover digits.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r-- | pango/pangowin32-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h index b1014214..e51f2d55 100644 --- a/pango/pangowin32-private.h +++ b/pango/pangowin32-private.h @@ -75,6 +75,8 @@ struct _PangoWin32Font LOGFONT logfont; int size; + GSList *metrics_by_lang; + PangoFontMap *fontmap; /* Written by pango_win32_get_hfont: */ |