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