From 497dfa84602b635c918d5e84059fd6b0377133da Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Wed, 25 Jun 2014 18:40:00 +0200 Subject: Extensions. Fix for Bug #1332461 (Datamatrix 22x22 is always incorrect). Fixed bugs: - https://launchpad.net/bugs/1332461 (bzr r13440) --- share/extensions/render_barcode_datamatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/extensions/render_barcode_datamatrix.py') diff --git a/share/extensions/render_barcode_datamatrix.py b/share/extensions/render_barcode_datamatrix.py index bca1d2241..83d009db8 100755 --- a/share/extensions/render_barcode_datamatrix.py +++ b/share/extensions/render_barcode_datamatrix.py @@ -140,7 +140,7 @@ def get_parameters(nrow, ncol): elif ( nrow == 20 and ncol == 20 ): return 18, 18, 1, 1, 22, 18, 1 elif ( nrow == 22 and ncol == 22 ): - return 18, 18, 1, 1, 30, 20, 1 + return 20, 20, 1, 1, 30, 20, 1 elif ( nrow == 24 and ncol == 24 ): return 22, 22, 1, 1, 36, 24, 1 elif ( nrow == 26 and ncol == 26 ): -- cgit v1.2.3