I'm using perl GD module. Everything is working fine except for the fonts.
I tried to create a string at a particular location by saying:
$image = new GD::Image(401,401);
$image->string(gdMediumBoldFont, 60,40, "<---- UP", $black);
and I get the following error:
Software error:
font is not of type GD::Font
The funny thing is that the exact statement works if i put it in
another program, running off the same directory on the same local host.
I cant figure out whats wrong.
I also tried loading a font by:
my $font = GD::Font->load("/usr/X11R6/lib/X11/fonts/Type1/cour.pfa");
, but then I get this:
Software error:
Success at otherscoresdump.10-27-06.pl line 1318.Any ideas/suggestions would be really appreciated.
thanks
dhivya
_______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs