DATAMATRIX: add DM_ISO_144 (--dmiso144) option for ISO placement

of ECC codewords instead of default "de facto"
This commit is contained in:
gitlost 2023-10-30 20:28:00 +00:00
parent b343409fb4
commit ca964f9098
18 changed files with 578 additions and 188 deletions

View file

@ -1037,7 +1037,7 @@ INTERNAL int ultra(struct zint_symbol *symbol, struct zint_seg segs[], const int
}
if (debug_print) {
printf("EC%d codewords: %d\n", ecc_level + 1, qcc);
printf("EC%d codewords: %d\n", ecc_level, qcc);
}
acc = qcc - 3;
@ -1128,7 +1128,7 @@ INTERNAL int ultra(struct zint_symbol *symbol, struct zint_seg segs[], const int
codeword[locn++] = qcc; /* QCC */
if (debug_print) {
fputs("Rearranged codewords with ECC:\n", stdout);
printf("Rearranged codewords with ECC (%d):\n", locn);
for (i = 0; i < locn; i++) {
printf(" %d", codeword[i]);
}