From b9efddafae059c1834ee10d3d7aedf9a23a1aea9 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Fri, 1 Feb 2008 03:14:27 +0000 Subject: [PATCH] 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 --- glabels2/ChangeLog | 6 ++++++ glabels2/src/label-barcode.c | 1 + 2 files changed, 7 insertions(+) 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); -- 2.39.5