Skip Menu |

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

Report information
The Basics
Id: 44748
Status: resolved
Priority: 0/
Queue: PDF-API2

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

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



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;
PDF::API2::Basic::TTF is no longer part of PDF::API2 (it uses Font::TTF instead, which appears to have been copy-pasted into this module). I just checked for the same typo in Font::TTF's Ttopen file, and it doesn't appear to be there.