From: Jim Evins Date: Fri, 1 Feb 2008 03:15:50 +0000 (+0000) Subject: 2008-01-31 Jim Evins X-Git-Tag: glabels-2_2_5~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=975cf2793e52a80c09f558064e0987d238b99edf;p=glabels 2008-01-31 Jim Evins * 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 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 2cee6c88..4f9b229a 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,9 @@ +2008-01-31 Jim Evins + + * 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 * src/label-text.c: (get_size), (draw_object), (draw_shadow): diff --git a/glabels2/src/label-barcode.c b/glabels2/src/label-barcode.c index 1901cfb1..1f008ed5 100644 --- a/glabels2/src/label-barcode.c +++ b/glabels2/src/label-barcode.c @@ -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);