[Koha-patches] [PATCH] Bug 3390 Barcodes not displayed in Acro Reader >v7.0
Chris Nighswonger
cnighswonger at foundations.edu
Fri Jul 3 18:59:26 CEST 2009
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.
---
C4/Labels.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/C4/Labels.pm b/C4/Labels.pm
index 2ee2568..ce8f359 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...
);
};
}
--
1.6.3.1
More information about the Koha-patches
mailing list