Skip Menu |
 

This queue is for tickets about the Imager CPAN distribution.

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

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

Bug Information
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>
Download (untitled) / with headers
text/plain 174b
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
Download (untitled) / with headers
text/plain 445b
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
Download (untitled) / with headers
text/plain 525b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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