Allow 12-digit ITF
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 16 Apr 2010 06:45:10 +0000 (06:45 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 16 Apr 2010 06:45:10 +0000 (06:45 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1308 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/oned/ITFReader.java

index b380972..74e5acb 100644 (file)
@@ -46,7 +46,7 @@ public final class ITFReader extends OneDReader {
   private static final int W = 3; // Pixel width of a wide line\r
   private static final int N = 1; // Pixed width of a narrow line\r
 \r
-  private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 10, 14, 44 };\r
+  private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 10, 12, 14, 44 };\r
 \r
   // Stores the actual narrow line width of the image being decoded.\r
   private int narrowLineWidth = -1;\r