Charts on Bugzilla

Gervase Markham gerv at mozilla.org
Fri May 9 07:56:55 UTC 2003


Daniel Berlin wrote:
> On Thursday, May 8, 2003, at 06:17  PM, Gervase Markham wrote:
>> That's not true; I get excellent PNGs on reports.cgi with 0.99.
>>
> That's simply impossible, sorry.

Well, Mozilla says they are PNGs, and my checksetup.pl says:

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v1.40
Checking for     Chart::Base (v0.99)   ok: found v0.99
Checking for     XML::Parser (any)      not found
Checking for       GD::Graph (any)     ok: found v1.35
Checking for GD::Text::Align (any)     ok: found v1

> Please look at the readme to Chart past 1.0, and you'll see:
> 0.99c-pre3 - 1.0:
>         Fixed _draw_data in Lines.pm: lines are limited to the frame
>         Added f_x_tick, f_y_tick
>         Added jpeg(), cgi_jpeg() to produce the format jpeg
>         Delete GIF support, added PNG and JPEG instead

This doesn't imply that the two halves of the sentence happened in the 
same release in the quoted range.

> Prior to somewhere in between these versions, there was no PNG support.
> Try grepping for png in 0.99, 0.99a, 0.99b, and you'll see it's nowhere 
> in the sources.
> 0.99 (and 0.99a and 0.99b) can't output PNG.

0.99c can, though.

My copy of Chart/Base.pm has $Chart::Base::VERSION = 0.99, and 
references to PNG all over the code, and none to GIF.

Gerv




More information about the developers mailing list