Completeing port of changes in DrawSpineText API
authorChris Nighswonger <cnighswonger@foundations.edu>
Fri, 18 Apr 2008 11:15:18 +0000 (07:15 -0400)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 21 Apr 2008 16:14:04 +0000 (11:14 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
labels/label-print-pdf.pl

index f9bc090..7d54a6f 100755 (executable)
@@ -222,7 +222,7 @@ foreach $item (@resultsloop) {
         DrawBarcode( $x_pos, $barcode_y, $barcode_height, $label_width,
             $item->{'barcode'}, $barcodetype );
         DrawSpineText( $x_pos, $y_pos, $label_height, $label_width, $fontname, $fontsize,
-            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype );
+            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype, '1' );
 
         CalcNextLabelPos();
 
@@ -245,7 +245,7 @@ foreach $item (@resultsloop) {
         CalcNextLabelPos();
         drawbox( $x_pos, $y_pos, $label_width, $label_height ) if $guidebox;
         DrawSpineText( $x_pos, $y_pos, $label_height, $label_width, $fontname, $fontsize,
-            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype );
+            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype, '1' );
 
         CalcNextLabelPos();
     }
@@ -254,7 +254,7 @@ foreach $item (@resultsloop) {
     elsif ( $printingtype eq 'BIB' ) {
         drawbox( $x_pos, $y_pos, $label_width, $label_height ) if $guidebox;
         DrawSpineText( $x_pos, $y_pos, $label_height, $label_width, $fontname, $fontsize,
-            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype );
+            $left_text_margin, $text_wrap_cols, \$item, \$conf_data, $printingtype, '0' );
         CalcNextLabelPos();
     }