mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
Always parse input as GS1 for EAN128 and RSS_EXP
This commit is contained in:
@@ -1883,10 +1883,9 @@ int composite(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((linear->width + bottom_shift) > symbol->width) {
|
||||
if ((linear->width + bottom_shift) > symbol->width + top_shift) {
|
||||
symbol->width = linear->width + bottom_shift;
|
||||
}
|
||||
if ((symbol->width + top_shift) > symbol->width) {
|
||||
} else if ((symbol->width + top_shift) > linear->width + bottom_shift) {
|
||||
symbol->width += top_shift;
|
||||
}
|
||||
symbol->rows += linear->rows;
|
||||
|
||||
Reference in New Issue
Block a user