From bd92e6f2385a31441c12152e3655170b61af81e7 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Tue, 3 Dec 2019 21:31:37 -0500 Subject: [PATCH] Increase maximum density of 2D barcodes to 64 blocks/in. (#78) This affects the minimum size of 2D barcodes. Even though you can print at this density, it may be problematic depending on printer quality or scanner optics. --- glbarcode/Barcode2dBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glbarcode/Barcode2dBase.cpp b/glbarcode/Barcode2dBase.cpp index 90f8d3e..1af6b14 100644 --- a/glbarcode/Barcode2dBase.cpp +++ b/glbarcode/Barcode2dBase.cpp @@ -33,7 +33,7 @@ using namespace glbarcode::Constants; namespace { - const double MIN_CELL_SIZE = ( 0.0625 * PTS_PER_INCH ); + const double MIN_CELL_SIZE = ( 1.0/64.0 * PTS_PER_INCH ); }