? gtk+/gdk/.gdkpango.c.swp
Index: gtk+/gdk/gdkpango.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/gdkpango.c,v
retrieving revision 1.49
diff -u -w -p -r1.49 gdkpango.c
--- gtk+/gdk/gdkpango.c	10 Jan 2006 16:47:37 -0000	1.49
+++ gtk+/gdk/gdkpango.c	23 Feb 2006 04:02:05 -0000
@@ -986,6 +986,16 @@ gdk_draw_layout_with_colors (GdkDrawable
       x = 0;
       y = 0;
     }
+  else if (y >= PANGO_PIXELS (G_MAXINT - PANGO_SCALE/2) ||
+	   x >= PANGO_PIXELS (G_MAXINT - PANGO_SCALE/2))
+    {
+      PangoMatrix tmp_matrix = PANGO_MATRIX_INIT;
+      tmp_matrix.x0 += x;
+      tmp_matrix.y0 += y;
+      pango_renderer_set_matrix (renderer, &tmp_matrix);
+      x = 0;
+      y = 0;
+    }
   else
     pango_renderer_set_matrix (renderer, NULL);
 
