Skip Menu |

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

Report information
The Basics
Id: 32404
Status: resolved
Priority: 0/
Queue: Text-PDF

People
Owner: Nobody in particular
Requestors: TSHINNIC [...] cpan.org
Cc:
AdminCc:

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



Subject: minor typo (?) in SFont.pm routine trim()
Reading/studying all the PDF modules I noticed a typo in Text::PDF::SFont 0.29.a Line 141 is $width += $widths{$str}[$enc ne "" ? $nec_map{$enc}[$_] : $_]; and should more likely be $width += $widths{$str}[$enc ne "" ? $enc_map{$enc}[$_] : $_]; as there _is_ an %enc_map I have no code with which to demonstrate the problem.
Thanks for spotting this. Will appear in next release but not high enough priority to trigger a release.