mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
ZINT_CAP_STACKABLE: missed CODABLOCKF/HIBC_BLOCKF previously - not
stackable
This commit is contained in:
parent
a74871a7de
commit
5b74903da4
2 changed files with 4 additions and 0 deletions
|
@ -850,6 +850,8 @@ INTERNAL int codablockf(struct zint_symbol *symbol, unsigned char source[], int
|
|||
}
|
||||
#endif
|
||||
|
||||
symbol->rows = 0; /* Stacked are not stackable */
|
||||
|
||||
/* Paint the C128 patterns */
|
||||
for (r = 0; r < rows; r++) {
|
||||
const int rc = r * columns;
|
||||
|
|
|
@ -1691,6 +1691,8 @@ unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag) {
|
|||
switch (symbol_id) {
|
||||
case BARCODE_CODE16K: /* Stacked are not stackable */
|
||||
case BARCODE_CODE49:
|
||||
case BARCODE_CODABLOCKF:
|
||||
case BARCODE_HIBC_BLOCKF:
|
||||
break;
|
||||
default:
|
||||
result |= ZINT_CAP_STACKABLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue