This queue is for tickets about the Imager CPAN distribution.

Maintainer(s)' notes

Tickets for Imager are now on github at https://github.com/tonycoz/imager

Report information
The Basics
Id:
62855
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
tony [...] develop-help.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: FT1 support isn't loading TTF fonts when FT2 is unavailable
Date: Tue, 9 Nov 2010 10:57:20 +1100
To: bug-Imager@rt.cpan.org
From: Tony Cook <tony@develop-help.com>
05:53 < Leolo> TONY!!!!! 05:56 < Leolo> Imager::Font->new fails to load TTF files if Truetype isn't enabled 05:56 < Leolo> even though freetype *is* enabled
Because of my @priority = qw(t1 tt ft2 ifs); tt is checked first. Because it can handle TTF, it falls through to the "is driver installed" section. Where it fails. Maybe the check should be made for both file type and driver installation. Build a list of all file types that don't have a driver installed. If no drivers are installed complain, using the list to show what should be installed. I'll see if I can't work on a patch soon.
RT-Send-CC: perl@pied.nu
On Tue Nov 09 13:54:02 2010, GWYN wrote:
Show quoted text
> Because of > my @priority = qw(t1 tt ft2 ifs); > > tt is checked first. Because it can handle TTF, it falls through to the > "is driver installed" section. Where it fails. > > Maybe the check should be made for both file type and driver > installation. Build a list of all file types that don't have a driver > installed. If no drivers are installed complain, using the list to show > what should be installed. > > I'll see if I can't work on a patch soon.
Fixed in svn.
Fixed in 0.79.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.