fix to remove blank newlines from labels
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
9902f24c13
commit
f6571fa5c2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue