koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/barcodes label-print-pdf.pl


From: Mason James
Subject: [Koha-cvs] koha/barcodes label-print-pdf.pl
Date: Tue, 11 Apr 2006 21:48:27 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Mason James <address@hidden>    06/04/11 21:48:27

Modified files:
        barcodes       : label-print-pdf.pl 

Log message:
        Little positioning tweak for EAN13 barcodes, made bigger using xSize 
and ySize.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/barcodes/label-print-pdf.pl.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: koha/barcodes/label-print-pdf.pl
diff -u koha/barcodes/label-print-pdf.pl:1.2 
koha/barcodes/label-print-pdf.pl:1.3
--- koha/barcodes/label-print-pdf.pl:1.2        Tue Apr 11 20:56:14 2006
+++ koha/barcodes/label-print-pdf.pl    Tue Apr 11 21:48:27 2006
@@ -299,19 +299,14 @@
         $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 ($@) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]