Skip Menu |

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

Report information
The Basics
Id: 107301
Status: resolved
Priority: 0/
Queue: PDF-Reuse

People
Owner: cnighs [...] cpan.org
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: prStrWidth returns undef when string is '0'
Hey, Currently, prStrWidth incorrectly returns undef when string is a false value, namely a numerical zero ('0'). On this line, you need to test defined'ness/length of $string: https://metacpan.org/source/CNIGHS/PDF-Reuse-0.36/Reuse.pm#L1264 -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
This patch has been pushed in 0.36_02. Please test. https://github.com/cnighswonger/PDF-Reuse/pull/5 Thanks!