summaryrefslogtreecommitdiff
path: root/pango/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/shape.c')
-rw-r--r--pango/shape.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pango/shape.c b/pango/shape.c
index aa712192..50479b5e 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -73,6 +73,7 @@ pango_shape (const gchar *text,
s = pango_font_description_to_string (desc);
pango_font_description_free (desc);
+ /* TODO: Write out the beginning excerpt of text here? */
g_warning ("shape engine failure, expect ugly output. the offending font is '%s'", s);
g_free (s);
@@ -88,13 +89,13 @@ pango_shape (const gchar *text,
!_pango_warning_history.shape_shape_engine)
{
_pango_warning_history.shape_shape_engine = TRUE;
- g_critical ("pango_shape called with bad shape_engine, expect ugly output");
+ g_warning ("pango_shape called with bad shape_engine, expect ugly output");
}
if (!PANGO_IS_FONT (analysis->font) &&
!_pango_warning_history.shape_font)
{
_pango_warning_history.shape_font = TRUE;
- g_critical ("pango_shape called with bad font, expect ugly output");
+ g_warning ("pango_shape called with bad font, expect ugly output");
}
glyphs->num_glyphs = 0;