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.