projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e411fd6
)
Wenn lange Wörter aufgeteilt werden, dann am Anfang kein Leerzeichen erzeugen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 20 May 2008 09:13:58 +0000
(09:13 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 20 May 2008 09:13:58 +0000
(09:13 +0000)
modules/override/PDF/Table.pm
patch
|
blob
|
history
diff --git
a/modules/override/PDF/Table.pm
b/modules/override/PDF/Table.pm
index
2dbcb98
..
f950a72
100644
(file)
--- 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;