From 17d95b579c20f9bd90f0831de0e382326edaf909 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Fri, 18 Apr 2008 07:15:18 -0400 Subject: [PATCH] Completeing port of changes in DrawSpineText API Signed-off-by: Joshua Ferraro --- labels/label-print-pdf.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/labels/label-print-pdf.pl b/labels/label-print-pdf.pl index f9bc09055f..7d54a6fb5c 100755 --- a/labels/label-print-pdf.pl +++ b/labels/label-print-pdf.pl @@ -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(); } -- 2.39.2