diff --git a/backend/svg.c b/backend/svg.c index 6e76355d..e2e688ac 100644 --- a/backend/svg.c +++ b/backend/svg.c @@ -646,7 +646,7 @@ int svg_plot(struct zint_symbol *symbol) { } /* Put the human readable text at the bottom */ - if (textdone == 0) { + if ((textdone == 0) && ustrlen(local_text)) { textpos = symbol->width / 2.0; fprintf(fsvg, " \n", 8.0 * scaler, symbol->fgcolour);