mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
Improved rendering of seperator bars for Codablock-F
This commit is contained in:
@@ -845,7 +845,7 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
);
|
||||
}
|
||||
/* >>> Data */
|
||||
emptyColumns=useColumns;
|
||||
emptyColumns=useColumns;
|
||||
/* +++ One liner don't have start/stop code */
|
||||
if (rows == 1)
|
||||
emptyColumns +=2;
|
||||
@@ -987,5 +987,9 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
if (!(symbol->output_options & BARCODE_BIND)) {
|
||||
symbol->output_options += BARCODE_BIND;
|
||||
}
|
||||
|
||||
if (symbol->border_width < 2) {
|
||||
symbol->border_width = 2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user