#43 Rare bug in PDF417 barcode generator

v1.0 (example)
open
nobody
pdf417 (1)
9
2014-03-10
2013-07-19
idzol
No

There is rare but serious bug in PDF417 barcode generator.
PDF417HighLevelEncoder.encodeNumeric, when called with for example string of length 45, looses last symbol.

The bug is in line 304 of file PDF417HighLevelEncoder.java
line

while (idx < count - 1) {

should be fixed as

while (idx < count) {

Discussion