mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 05:54:19 -04:00
DATAMATRIX: add DM_ISO_144
(--dmiso144) option for ISO placement
of ECC codewords instead of default "de facto"
This commit is contained in:
parent
b343409fb4
commit
ca964f9098
18 changed files with 578 additions and 188 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue