forked from zxing-cpp/zxing-cpp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDF417: prevent wrong position info with right side collapsing to (0,0)
Truncated PDF417 symbols don't have a stop-guard. The top-right and bottom-right info for those was always (0,0). This could also happen for normal PDF417 symbols when detecting the stop-guard failed. This patch introduces a very crude approximation of the right side of the symbol for this case that does at least make some sense. I consider this a fix for zxing-cpp#866. This is related to zxing-cpp#145 and zxing-cpp#340.
- Loading branch information
Showing
3 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters