in reply to GD::Graph Fonts

I think (from grep'ing a co-worker's code) that there are font constants. Check the GD man page for more info (look for the word 'giant'), and maybe try something like (it appears the choices are gdSmallFont, gdMediumBoldFont, gdTinyFont, gdLargeFont and gdGiantFont):
$graph->set_title_font(GD::gdGiantFont);
Looks like (from "man GD") for ttf, you need to use the stringFT method.
$image->stringFT($fgcolor,$fontname,$ptsize,$angle,$x,$y,$string)

Replies are listed 'Best First'.
Re^2: GD::Graph Fonts
by Anonymous Monk on Apr 15, 2005 at 21:49 UTC
    Resolution:

    First GD::Text has to be called directly and then the path to the fonts has to be set before the font can be used. So in addition to use GD::Graph the following lines had to be added to my code:

    use GD::Text; GD::Text->font_path('c:/winnt/fonts/');