Index: libgnomeprint/gnome-print-pango.c
===================================================================
RCS file: /cvs/gnome/libgnomeprint/libgnomeprint/gnome-print-pango.c,v
retrieving revision 1.9
diff -u -p -d -r1.9 gnome-print-pango.c
--- libgnomeprint/gnome-print-pango.c	20 Jul 2005 15:20:22 -0000	1.9
+++ libgnomeprint/gnome-print-pango.c	27 Feb 2006 01:25:14 -0000
@@ -25,6 +25,13 @@
  */
 
 #define PANGO_ENABLE_BACKEND	/* Needed to access PangoFcFont.font_pattern */
+/* behdad: Humm, font_pattern can be accessed using "pattern" property. */
+
+#ifdef PANGO_GLYPH_EMPTY
+#define EMPTY_GLYPH PANGO_GLYPH_EMPTY
+#else
+#define EMPTY_GLYPH 0
+#endif
 
 #include <config.h>
 
@@ -298,7 +305,7 @@ gnome_print_pango_glyph_string (GnomePri
 	for (i = 0; i < glyphs->num_glyphs; i++) {
 		PangoGlyphInfo *gi = &glyphs->glyphs[i];
 
-		if (gi->glyph) {
+		if (gi->glyph != EMPTY_GLYPH) {
 			int x = x_off + gi->geometry.x_offset;
 			int y = gi->geometry.y_offset;
 			

