mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-23 21:07:05 +00:00
DATAMATRIX: add DM_ISO_144 (--dmiso144) option for ISO placement
of ECC codewords instead of default "de facto"
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user