mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Issue #168 : don't emit symbols for empty numeric compaction in PDF417
This commit is contained in:
parent
f4b7264413
commit
cdcccab200
2
AUTHORS
2
AUTHORS
|
@ -76,6 +76,7 @@ Marcelo
|
|||
Mateusz Jędrasik
|
||||
Matthew Schulkind (Google)
|
||||
Matt York (LifeMarks)
|
||||
micjahn
|
||||
mike32767
|
||||
mikej06
|
||||
Mike Kicinski
|
||||
|
@ -118,5 +119,6 @@ Tim Gernat
|
|||
v.anestis
|
||||
Vince Francis (LifeMarks)
|
||||
Wolfgang Jung
|
||||
Yahoe001
|
||||
Yakov Okshtein (Google)
|
||||
Yao Wei
|
||||
|
|
|
@ -545,9 +545,11 @@ final class DecodedBitStreamParser {
|
|||
// while in Numeric Compaction mode) serves to terminate the
|
||||
// current Numeric Compaction mode grouping as described in 5.4.4.2,
|
||||
// and then to start a new one grouping.
|
||||
String s = decodeBase900toBase10(numericCodewords, count);
|
||||
result.append(s);
|
||||
count = 0;
|
||||
if (count > 0) {
|
||||
String s = decodeBase900toBase10(numericCodewords, count);
|
||||
result.append(s);
|
||||
count = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
return codeIndex;
|
||||
|
|
Loading…
Reference in a new issue