Last commit 7be63a messed up raster/vector text offset with border_width set - fix

This commit is contained in:
gitlost 2020-05-23 00:31:22 +01:00
parent 7be63a00b6
commit 8131471573
4 changed files with 143 additions and 6 deletions

View file

@ -423,7 +423,7 @@ INTERNAL int plot_vector(struct zint_symbol *symbol, int rotate_angle, int file_
if ((symbol->output_options & BARCODE_BOX) || (symbol->output_options & BARCODE_BIND)) {
default_text_posn = symbol->height + text_offset + symbol->border_width + symbol->border_width;
} else {
default_text_posn = symbol->height + text_offset + symbol->border_width;
default_text_posn = symbol->height + text_offset;
}
// Plot rectangles - most symbols created here