From: srowen Date: Fri, 16 Apr 2010 06:45:10 +0000 (+0000) Subject: Allow 12-digit ITF X-Git-Url: http://git.rot13.org/?p=zxing.git;a=commitdiff_plain;h=ea7fad7effff871fe98be8e2b9ae227eed3ef0ed;hp=015a03392ad503c5d90ea63529e9bfe9cd2a12c2 Allow 12-digit ITF git-svn-id: http://zxing.googlecode.com/svn/trunk@1308 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- diff --git a/core/src/com/google/zxing/oned/ITFReader.java b/core/src/com/google/zxing/oned/ITFReader.java index b380972d..74e5acb8 100644 --- a/core/src/com/google/zxing/oned/ITFReader.java +++ b/core/src/com/google/zxing/oned/ITFReader.java @@ -46,7 +46,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, 10, 14, 44 }; + private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 10, 12, 14, 44 }; // Stores the actual narrow line width of the image being decoded. private int narrowLineWidth = -1;