fix to remove blank newlines from labels

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Mason James 2009-01-16 21:16:27 +13:00 committed by Galen Charlton
parent 9902f24c13
commit f6571fa5c2

View file

@ -1077,6 +1077,7 @@ sub DrawSpineText {
# loop for each string line
foreach my $str (@strings) {
my $hPos = $x_pos;
next if $str eq '';
my $stringwidth = prStrWidth($str, $fontname, $fontsize);
if ( $$conf_data->{'text_justify'} eq 'R' ) {
$hPos += $label_width - ($left_text_margin + $stringwidth);