Skip Menu |

This queue is for tickets about the Image-VisualConfirmation CPAN distribution.

Report information
The Basics
Id: 61901
Status: resolved
Priority: 0/
Queue: Image-VisualConfirmation

People
Owner: arthas [...] cpan.org
Requestors: franck.perrot [...] epfl.ch
Cc:
AdminCc:

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



Subject: Font file not found
Date: Tue, 05 Oct 2010 10:29:13 +0200
To: bug-Image-VisualConfirmation [...] rt.cpan.org
From: franck perrot <franck.perrot [...] epfl.ch>
Hi there, since I use UTF-8, I got a "Font file not found" (but the font exist) for each Image::VisualConfirmation->new() After investigation, I have modified the package like that : sub _create_string: if ( exists $self->{font_file} ) { $font = Imager::Font->new( file => $self->{font_file}, type => 'ft2' ) or croak "Font file not found: $!"; } By adding "type => 'ft2'" in Imager::Font->new() all is OK now. So, could it be possible you add a font type option in the new fonction of Image::VisualConfirmation ? Thanks in advance, franck Perrot
Hello! Instead of hard-coding "ft2" I added an option to specify the file_type as a parameter: this is because it could also be "tt", etc... I just uploaded v 0.05 which should appear shortly, please see if it works for you. Cheers, Michele.
Changed status to Resolved, unless we get reprots.