diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-09-01 16:01:44 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-01 20:29:34 +0000 |
commit | ab3c111433229fc79275c4b413b24bec6f5463ce (patch) | |
tree | ceee33196d76ebded37cd5c9e7ebfd35303215c2 /fxbarcode/cbc_ean8.cpp | |
parent | a2188df09255b49ad41a89ae9b5de640d0b03126 (diff) | |
download | pdfium-ab3c111433229fc79275c4b413b24bec6f5463ce.tar.xz |
Fix EAN-13 checksum and add unit tests.
Parity in EAN-13 is considered counting digits from right to left,
starting at 1.
Bug: pdfium:882
Change-Id: I3e586499091b8400daf93657eb9878f29d9e6922
Reviewed-on: https://pdfium-review.googlesource.com/12910
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_ean8.cpp')
0 files changed, 0 insertions, 0 deletions