|
|
imager-devel |
/ help / lists / applications / search / |
| molar.is > lists > imager-devel > 2001-06 | / threads / authors / dates / subjects / |
Imager::FontFrom: Michael (02254@xyz.molar.is)Date: Thu 14 Jun 2001 - 00:02:05 UTC
Hi folks;
I'm going to be the first to ask a dumb newbie type question... :-)
I have been tinkering with using Imager::Font and have tried playing
I am getting the following errors...
Can't modify constant item in read at font.cgi line 15, near ""test.jpg")"
Here is the snippet of code I am trying..
############################################
#!/usr/bin/perl -w
use Imager;
print "Has truetype" if $Imager::formats{tt};
$t1font = Imager::Font->new(file => '/usr/share/fonts/default/Type1/a010015l.pfb');
$red = Imager::Color->new("#FF0000");
$img=Imager->new();
###########################################
All I'm trying to do is just write some simple text onto the jpg...any
- thanks for any and all help -
--
best regards
|
|
© 2000-2002 Bjarni R. Einarsson / feedback / legalese / credits / Last modified 14-06-2001. |
|