zint / zint-gpl-only

Zint Barcode Generator
https://zint.org.uk/
GNU General Public License v3.0
525 stars 138 forks source link

Code128 issue #54

Closed Jonney3099 closed 2 years ago

Jonney3099 commented 7 years ago

When I test string 'c' + '\n' + "aDEF" , Code128 Class returns: |START B|c|Shift|Chr(10)|SHIFT|a|D|E|F|CheckDigit|STOP| There're two SHIFT,the last SHIFT is redundant. Scanner returns wrong result.

The program I tested is OkapiBarcode which is inherited from zint. I think zint also has the same hole.

gitlost commented 2 years ago

The latest version of Zint produces "StartB c ShA a D E F k Stop CSum(75)" (checked with ZXing-C++), i.e. without the redundant SHIFT, so it looks as if this issue is fixed. If you've any further feedback please raise a ticket at https://sourceforge.net/p/zint/tickets/ as this fork is no longer in use. Thanks for the detailed feedback!