Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

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



Subject: drawing anti-aliased text can cause a floating point exception
Date: Tue, 12 Jun 2007 23:00:20 +1000
To: bug-Imager [...] rt.cpan.org
From: tonyc [...] cpan.org
drawing anti-aliased text on an image with an image with an opaque alpha channel can cause a floating point exception on division by zero. my $im = Imager->new(xsize => 100, ysize => 100, channels => 4); $im->box(filled => 1, color => '#ff0000FF'); my $font = Imager::Font->new(file=>'fontfiles/ImUgly.ttf', type=>'ft2'); ok($im->string(x => 0, 'y' => 40, text => 'test', size => 11, sizew => 11, font => $font, aa => 1), 'draw on image with opaque alpha')
Fixed in svn
On Tue Jun 12 09:00:59 2007, TONYC wrote: Show quoted text
> drawing anti-aliased text on an image with an image with an opaque > alpha channel can cause a floating point exception on division by > zero. >
Fixed in Imager 0.59.