]> git.sur5r.net Git - glabels/commitdiff
2008-01-31 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Fri, 1 Feb 2008 03:15:50 +0000 (03:15 +0000)
committerJim Evins <evins@snaught.com>
Fri, 1 Feb 2008 03:15:50 +0000 (03:15 +0000)
* src/label-barcode.c: (draw_object):
Fixed rendering problem when "Invalid data" is displayed when text
object is lower in stacking order.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/branches/glabels-2_2@739 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/ChangeLog
glabels2/src/label-barcode.c

index 2cee6c88d9f10132d026d47d98ecdb4d28a5d64f..4f9b229acda0e0b89a9c43cf72582f7cdbf85473 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-31  Jim Evins  <evins@snaught.com>
+
+       * src/label-barcode.c: (draw_object):
+               Fixed rendering problem when "Invalid data" is displayed when text
+               object is lower in stacking order.
+
 2008-01-30  Jim Evins  <evins@snaught.com>
 
        * src/label-text.c: (get_size), (draw_object), (draw_shadow):
index 1901cfb1aadd5e1cee373a3e00d9d982fd14019e..1f008ed59aa74ff421de2c21e042c93ed2866574 100644 (file)
@@ -430,6 +430,7 @@ draw_object (glLabelObject *object,
                         pango_layout_set_text (layout, _("Invalid barcode data"), -1);
                 }
 
+                cairo_move_to (cr, 0, 0);
                 pango_cairo_show_layout (cr, layout);
 
                 g_object_unref (layout);