From 233b76bd53f43b3bc63b6d25440b75e679c90057 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 20 May 2008 09:13:58 +0000 Subject: [PATCH] =?utf8?q?Wenn=20lange=20W=C3=B6rter=20aufgeteilt=20werden?= =?utf8?q?,=20dann=20am=20Anfang=20kein=20Leerzeichen=20erzeugen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- modules/override/PDF/Table.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index 2dbcb98e3..f950a723d 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -334,6 +334,7 @@ sub table { $row->[$j] =~ s#(\b\S{$max_word_len}?)(\S.*?\b)# $1 $2#; $myone = 1 if ( defined $2 ); } while( $myone ); + $row->[$j] =~ s/^\s+//; $space_w = $txt->advancewidth( "\x20" ); $column_widths->[$j] = 0; -- 2.20.1