Issue 920 add ITF length 18, make C++ consistent with Java here

git-svn-id: https://zxing.googlecode.com/svn/trunk@1863 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-07-23 14:09:51 +00:00
parent 7daf9dc760
commit f8e3cef85d

View file

@ -50,7 +50,7 @@ public final class ITFReader extends OneDReader {
private static final int W = 3; // Pixel width of a wide line
private static final int N = 1; // Pixed width of a narrow line
private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 8, 10, 12, 14, 16, 20, 24, 44 };
private static final int[] DEFAULT_ALLOWED_LENGTHS = { 44, 24, 20, 18, 16, 14, 12, 10, 8, 6 };
// Stores the actual narrow line width of the image being decoded.
private int narrowLineWidth = -1;