From 630384390da9056b922a954a00e3136739c095cf Mon Sep 17 00:00:00 2001 From: sushi Date: Fri, 7 Jul 2006 03:46:31 +0000 Subject: [PATCH] *** empty log message *** --- barcodes/label-print-pdf.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/barcodes/label-print-pdf.pl b/barcodes/label-print-pdf.pl index 990dc3e764..2ae2db2c62 100755 --- a/barcodes/label-print-pdf.pl +++ b/barcodes/label-print-pdf.pl @@ -171,9 +171,19 @@ $pdf->openpage($pagenumber); ( $pagewidth, $pageheight ) = $pdf->getPageDimensions(); my $y_pos = ( $y_pos_initial_startrow + 90 ); + +# this left aligns the spine label text, centering would be better, +# but word-wrapping breaks with centering on. :( $pdf->setAlign('left'); + +# this sets the font size for the spine label text. +# if your text strings are extending past the right label border +# and arnt getting wrapped properly, reduce the font size some +# fyi: PDF::Report wont wrap continuious strings with no spaces in them, correctly + $pdf->setSize(9); + my $page_break_count = $startrow; foreach $item (@resultsloop) { -- 2.39.5