mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 06:34:32 -04:00
Test only the current row. Do not check bits outside of the barcode or in the next row.
This commit is contained in:
parent
7bbb7072b4
commit
22e06ee05a
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ int plot_raster_default(struct zint_symbol *symbol, int rotate_angle, int data_t
|
||||||
block_width = 0;
|
block_width = 0;
|
||||||
do {
|
do {
|
||||||
block_width++;
|
block_width++;
|
||||||
} while (module_is_set(symbol, this_row, i + block_width) == module_is_set(symbol, this_row, i));
|
} while ((i + block_width < symbol->width )&& 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)) {
|
if ((addon_latch == 0) && (r == 0) && (i > main_width)) {
|
||||||
plot_height = (int) (row_height - 5.0);
|
plot_height = (int) (row_height - 5.0);
|
||||||
plot_yposn = (int) (row_posn - 5.0);
|
plot_yposn = (int) (row_posn - 5.0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue