Skip Menu |

This queue is for tickets about the PDF-Reuse CPAN distribution.

Report information
The Basics
Id: 59797
Status: rejected
Priority: 0/
Queue: PDF-Reuse

People
Owner: cnighs [...] cpan.org
Requestors: sztrancsik.csaba [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.35
Fixed in: (no value)



Subject: bookmark is empty when stepping from level-1 to level-2
Hello ! I am using the bookmark making facility from PDF::REUSE. I've found that there is an empty line in the bookmark, when the level shifts from level-1 to level-2. I've isolated the problem in the sub createBookmarks { subroutine. } elsif ($level == 2) { if ($current->{kids}[-1]->{kids}) { push @{$current->{kids}[-1]->{kids}}, $mark ; } else { # $current->{kids}[0]->{kids} = [$mark] ; $current->{kids}[-1]->{kids} = [$mark] ; } Th commented line is the original, and the corrected one is below. I don't say that understand the full working here, just corrected by analogy. The correction works for me. Best regards, Csaba Sztrancsik
No sub createBookmarks appears in the current version of PDF::Reuse. Feel free to re-open or file a new bug if you feel this is a mistake.