Subject: | [PATCH] Typo in PDF/API2/Basic/TTF/Ttopen.pm |
There's a trivial typo in PDF/API2/Basic/TTF/Ttopen.pm. See the attached
patch.
Subject: | pdf-api2-ttopen-typo.diff |
diff -urN -x fonts -x 'CJKFont*' -x CMap PDF-API2-0.73/lib/PDF/API2/Basic/TTF/Ttopen.pm ../htdocs/cgi-bin/lib/PDF/API2/Basic/TTF/Ttopen.pm
--- PDF-API2-0.73/lib/PDF/API2/Basic/TTF/Ttopen.pm 2005-11-16 03:16:00.000000000 +0100
+++ ../htdocs/cgi-bin/lib/PDF/API2/Basic/TTF/Ttopen.pm 2009-02-02 18:16:39.000000000 +0100
@@ -341,7 +341,7 @@
{
if ($tag =~ m/(.*?)\s_(\d+)$/o)
{ $tag = $1 . " _" . ($2 + 1); }
- elsef
+ else
{ $tag .= " _0"; }
}
$l->{$tag}{' OFFSET'} = $off + $oFeat;