pango r2796 - in trunk: . pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2796 - in trunk: . pango
- Date: Thu, 8 Jan 2009 07:00:52 +0000 (UTC)
Author: behdad
Date: Thu Jan 8 07:00:52 2009
New Revision: 2796
URL: http://svn.gnome.org/viewvc/pango?rev=2796&view=rev
Log:
2009-01-08 Behdad Esfahbod <behdad gnome org>
* pango/pango-context.c (itemize_state_process_run):
Improve warning message.
Modified:
trunk/ChangeLog
trunk/pango/pango-context.c
Modified: trunk/pango/pango-context.c
==============================================================================
--- trunk/pango/pango-context.c (original)
+++ trunk/pango/pango-context.c Thu Jan 8 07:00:52 2009
@@ -1384,16 +1384,7 @@
if (!g_object_get_data (G_OBJECT (fontmap), script_name))
{
- const char *what;
- if (shape_engine == NULL)
- what = "shape engine";
- else if (font == NULL)
- what = "font";
- else
- what = "nothing (oops!)";
-
- g_warning ("failed to find %s, expect ugly output. engine-type='%s', script='%s'",
- what,
+ g_warning ("failed to choose a font, expect ugly output. engine-type='%s', script='%s'",
pango_font_map_get_shape_engine_type (fontmap),
script_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]