summaryrefslogtreecommitdiff
path: root/pango/pango-impl-utils.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-04-27 23:47:15 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-04-27 23:47:15 +0000
commit2b59a2594b6aa44324d2032d5dedc43b2eff5d10 (patch)
treec110b241a03cb260a5762702567679b8cf7c3578 /pango/pango-impl-utils.h
parent19d6d0cfd923641e9e2f946db86fa4073a1e899a (diff)
downloadpango-2b59a2594b6aa44324d2032d5dedc43b2eff5d10.tar.gz
Add more warning_history items and handle more font failures, to make sure
2006-04-27 Behdad Esfahbod <behdad@gnome.org> * pango/pango-impl-utils.h: * pango/fonts.c (pango_font_get_glyph_extents), (pango_font_get_metrics), (pango_font_get_font_map): * pango/pangocairo-render.c (pango_cairo_show_glyph_string), (pango_cairo_glyph_string_path): Add more warning_history items and handle more font failures, to make sure that instead of crashing, gedit runs and draws empty boxes when pango.modules is not set properly.
Diffstat (limited to 'pango/pango-impl-utils.h')
-rw-r--r--pango/pango-impl-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h
index ebc4406d..59494ed8 100644
--- a/pango/pango-impl-utils.h
+++ b/pango/pango-impl-utils.h
@@ -83,6 +83,8 @@ struct _PangoWarningHistory {
guint shape_font : 1;
guint shape_shape_engine : 1;
guint get_glyph_extents : 1;
+ guint get_metrics : 1;
+ guint get_font_map : 1;
};
extern PangoWarningHistory _pango_warning_history;