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
Download (untitled) / with headers
text/plain 489b
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
Download (untitled) / with headers
text/plain 213b
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.


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.