Skip Menu |

This queue is for tickets about the Font-TTF CPAN distribution.

Report information
The Basics
Id: 128937
Status: open
Priority: 0/
Queue: Font-TTF

People
Owner: Nobody in particular
Requestors: futuramedium [...] yandex.ru
Cc:
AdminCc:

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



Subject: Some classes include parent in @ISA, but don't use/require it
Font::TTF::Cvt_, Font::TTF::Fdsc, Font::TTF::Fpgm and others don't "use" ("require") their parent Font::TTF::Table. Table descriptions can appear in any order in TTF directory, and if first one happens from list above, then program dies: Can't locate object method "new" via package "Font::TTF::Cvt_" at C:/berrybrew/5.26.0_64_PDL/perl/site/lib/Font/TTF/Font.pm line 450. It seems that such fonts are extremely rare, but fix would be extremely easy (and correct Perl), too.
Actually, according to the spec: Show quoted text
> Entries in the Table Record must be sorted in ascending order by tag.
But you are right we should fix this because one of those tables might still be first. Thanks for the report. Bob