From: Jim Evins Date: Fri, 1 Feb 2008 03:14:27 +0000 (+0000) Subject: 2008-01-31 Jim Evins X-Git-Tag: glabels-2_3_0~278 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b9efddafae059c1834ee10d3d7aedf9a23a1aea9;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/trunk@738 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index bd3d5d2d..7bed074e 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);