From 3b12f14bad39aec17f1ce671e62a286b72c14066 Mon Sep 17 00:00:00 2001 From: hooper114 Date: Tue, 7 Jul 2009 22:01:59 +0000 Subject: [PATCH] Correct addon formatting problem --- backend/svg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/svg.c b/backend/svg.c index b2b2ddbe..06ecd029 100644 --- a/backend/svg.c +++ b/backend/svg.c @@ -284,8 +284,8 @@ int svg_plot(struct zint_symbol *symbol) do { block_width++; } while (module_is_set(symbol, this_row, i + block_width) == module_is_set(symbol, this_row, i)); - if((addon_latch == 0) && (r == 0) && (i > main_width)) { - addon_text_posn = 9.0 + symbol->border_width; + if((addon_latch == 0) && (r == (symbol->rows - 1)) && (i > main_width)) { + addon_text_posn = (row_posn + 8.0) * scaler; addon_latch = 1; } if(latch == 1) {