]> git.sur5r.net Git - glabels/commitdiff
2008-01-31 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Fri, 1 Feb 2008 03:14:27 +0000 (03:14 +0000)
committerJim Evins <evins@snaught.com>
Fri, 1 Feb 2008 03:14:27 +0000 (03:14 +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/trunk@738 f5e0f49d-192f-0410-a22d-a8d8700d0965

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

index bd3d5d2d991def52da39b7dc6b3d41e5f7589c23..7bed074e691e3a1511f0e5c3b85543b834181996 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);