From 9489ba5b0baecea4888e89c59b538ed9fddd34af Mon Sep 17 00:00:00 2001 From: sushi Date: Tue, 11 Apr 2006 21:48:27 +0000 Subject: [PATCH] Little positioning tweak for EAN13 barcodes, made bigger using xSize and ySize. --- barcodes/label-print-pdf.pl | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/barcodes/label-print-pdf.pl b/barcodes/label-print-pdf.pl index ba82f80096..995837a536 100755 --- a/barcodes/label-print-pdf.pl +++ b/barcodes/label-print-pdf.pl @@ -299,19 +299,14 @@ sub build_circ_barcode { $value = substr( $value, 0, 12 ); eval { - PDF::Reuse::Barcode::EAN13( - x => ( $x_pos_circ + 27 ), - y => ( $y_pos + 15 ), + PDF::Reuse::Barcode::EAN13( + x => ( $x_pos_circ + 32 ), + y => ( $y_pos + 18 ), value => $value, # prolong => 2.96, - # xSize => 1.5, - - # ySize => 1.2, - -# added for xpdf compat. doesnt use type3 fonts., but increases filesize from 20k to 200k -# i think its embedding extra fonts in the pdf file. -# mode => 'graphic', + xSize => 1.5, + ySize => 1.2, ); }; if ($@) { -- 2.39.5