[Koha-patches] [PATCH] Completeing port of changes in DrawSpineText API
Chris Nighswonger
cnighswonger at foundations.edu
Fri Apr 18 13:15:18 CEST 2008
---
labels/label-print-pdf.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/labels/label-print-pdf.pl b/labels/label-print-pdf.pl
index f9bc090..7d54a6f 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();
}
--
1.5.3.7
More information about the Koha-patches
mailing list