in reply to true type font in GD::Graph
Its been a while since I last looked at fonts in GD. I have an old piece of code that says:
# $image->stringFT($line,'/dosc/windows/Fonts/arialnb.ttf', # 12,0, # $border+int($x), # int($y), # $name); $image->string(gdMediumBoldFont, int($x)-$x_offset, int($y), $name,$line);
My recollection is that the commented out stringFT() method worked OK but there was some other issue with it (finding fonts on other machines for example). So in the end I had to resort to the gd*Font set.
Hope that helps.
In Section
Seekers of Perl Wisdom