This queue is for tickets about the Imager CPAN distribution.

Maintainer(s)' notes

Tickets for Imager are now on github at https://github.com/tonycoz/imager

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

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

BugTracker
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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