Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 27571
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

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



Subject: error message when loading an unsupported font format is confusing
Date: Thu, 14 Jun 2007 11:01:40 +1000
To: bug-Imager [...] rt.cpan.org
From: tonyc [...] cpan.org
see subject
Previously the error reported by: my $font = Imager::Font->new(file = 'foo.ttf') or die Imager->errstr; when there is no driver enabled for that format was: Font type not found Now, if the format is a known extension: No font drivers enabled that can support this file, rebuild Imager with any of ft2 (Freetype 2.x), tt (Freetype 1.x) to use this font file or if there's no driver at all: No font type found for fontfiles/dcr10.afm The first message is very wordy, but should mean that a developer won't be confused by the message, for example: http://perlmonks.org/?node_id=620796
fixed in 0.60