Skip Menu |

This queue is for tickets about the pod2pdf CPAN distribution.

Report information
The Basics
Id: 76631
Status: new
Priority: 0/
Queue: pod2pdf

People
Owner: Nobody in particular
Requestors: culu.gyx [...] gmail.com
Cc:
AdminCc:

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



Subject: [Patch] Overlapping text
Date: Tue, 17 Apr 2012 21:22:32 +0800
To: bug-pod2pdf [...] rt.cpan.org
From: Guo Yixuan <culu.gyx [...] gmail.com>
Perl: This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int OS : Debian/testing Package: pod2pdf Version: 0.42-3 Severity: normal When the last word in a text paragraph occur on a new page, it will overlap with the next paragraph. (This usually happens when the page size is small.) Example: (test.pod attached) pod2pdf --page-orientation landscape --noheader --nofooter --page-width 140 --page-heigh 120 --margins 1 test.pod >test.pdf Reason: When $word is the last word in a paragraph, in $self->print_word($word) newline() called linefeed(), then formfeed(), and formfeed() resets print_flag. Then {x,y}-position are not changed until the first word in the next paragraph, so it overlaps with previous word. Fix: call $self->set_print_flag() after the $self->{x_position} += $self->{text}->textlabel(...) line in print_word(). Guo Yixuan

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.