From f779f9815c81161203ad70cb96373427996c48e8 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Fri, 3 Jul 2009 12:59:26 -0400 Subject: [PATCH] Bug 3390 Barcodes not displayed in Acro Reader >v7.0 Label pdfs containing barcodes generated by Koha do not display barcodes properly in Adobe Reader >v7.0. This does not appear to be a bug in Koha code nor in PDF::Reuse::Barcode code, but rather in the backward compatibility of Adobe Reader. This patch changes the barcode embedding method from a Type3 font to graphical embedding which appears to work around the issue. Signed-off-by: Galen Charlton --- C4/Labels.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Labels.pm b/C4/Labels.pm index 2ee2568f08..ce8f359530 100644 --- a/C4/Labels.pm +++ b/C4/Labels.pm @@ -1165,6 +1165,7 @@ sub DrawBarcode { ySize => ( .02 * $height ), xSize => $xsize_ratio, hide_asterisk => 1, + mode => '', # the only other option here is Type3... ); }; } @@ -1185,6 +1186,7 @@ sub DrawBarcode { ySize => ( .02 * $height ), xSize => $xsize_ratio, hide_asterisk => 1, + mode => '', # the only other option here is Type3... ); }; } @@ -1205,7 +1207,8 @@ sub DrawBarcode { ySize => ( .02 * $height ), xSize => $xsize_ratio, hide_asterisk => 1, - text => 0, + text => 0, + mode => '', # the only other option here is Type3... ); }; } @@ -1294,6 +1297,7 @@ sub build_circ_barcode { # prolong => 2.96, xSize => .85, ySize => 1.3, + mode => '', # the only other option here is Type3... ); }; } -- 2.39.5