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 <galen.charlton@liblime.com>
This commit is contained in:
Chris Nighswonger 2009-07-03 12:59:26 -04:00 committed by Galen Charlton
parent a1fc4c434d
commit f779f9815c

View file

@ -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...
);
};
}