summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2004-12-18 17:05:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2004-12-18 17:05:14 +0000
commit3af3b3e4e1e5de7ad3f49b91295f4d77310caf53 (patch)
treed5b8851fb4c6c3f367bdb46cc411089a8dc216de /pango/pangowin32-private.h
parentfc8df84e11bfba0d7fb4180524e80baba274e226 (diff)
downloadpango-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.h2
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: */