[Koha-bugs] [Bug 22429] Infinite loop in patron card printing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 28 08:03:11 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22429

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
I'm going to follow this up more tomorrow I hope. 

I need to gather more data regarding these lines:

                $line =~ m/^.*(\s.*\s*|\s&|\<.*\>)$/;
                warn sprintf('Line wrap failed. DEBUG INFO: Data: \'%s\'\n
Method: C4::Patroncards->draw_text Additional Information: Line wrap regexp
failed. (Please file in this information in a bug report
 at http://bugs.koha-community.org', $line) and last WRAP_LINES if !$1;
                $trim = $1 . $trim;
                $line =~ s/$1//;
                $string_width = C4::Creators::PDF->StrWidth($line,
$text_attribs->{'font'}, $text_attribs->{'font_size'});

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list