Set fixed row height in Codablock-F

This commit is contained in:
Robin Stuart 2016-10-27 13:33:19 +01:00
parent 5402264ad9
commit 20c4509ecd

View File

@ -983,8 +983,8 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
strcat(dest, C128Table[pOutput[r * columns + c]]); strcat(dest, C128Table[pOutput[r * columns + c]]);
} }
expand(symbol, dest); expand(symbol, dest);
symbol->row_height[r] = 10;
} }
set_minimum_height(symbol, 8);
if (!(symbol->output_options & BARCODE_BIND)) { if (!(symbol->output_options & BARCODE_BIND)) {
symbol->output_options += BARCODE_BIND; symbol->output_options += BARCODE_BIND;