Hello,

I'm using GD::Graph::bars.

my $graph = GD::Graph::bars->new(150,100);

But I can't call the methods below to set the font and size.

$graph->set_x_axis_font('arial', 15)  or die $graph->error;
$graph->set_y_axis_font('arial', 15)  or die $graph->error;

Apache's error_log says:

Cannot find TTF font: arial

Also I tried to set the font to GD's builtin ones like gdTinyFont, still failed.

Can anybody help with this?
Thanks.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to