1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 18:07:02 +00:00

ZINT_CAP_STACKABLE: missed CODABLOCKF/HIBC_BLOCKF previously - not

stackable
This commit is contained in:
gitlost
2025-04-03 17:21:44 +01:00
parent a74871a7de
commit 5b74903da4
2 changed files with 4 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;