30 Oct
2025
30 Oct
'25
2:14 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38516 --- Comment #19 from David Cook <dcook@prosentient.com.au> --- Ok here's a minimal example which reproduces the problem. It appears that the call $pdf->openpage($_) alone is enough to corrupt the output: use Modern::Perl; use PDF::API2; use constant mm => 25.4 / 72; my $pdf_template = '/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pdf/layout2pagesde.pdf'; my $pdf = PDF::API2->open($pdf_template); #printfooters($pdf); for ( 1 .. $pdf->pages ) { my $page = $pdf->openpage($_); } print $pdf->stringify; -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.