in reply to Re: Re: Re: Image::Magick problems
in thread Image::Magick problems

Okay, I tried using $image->Annotate(font=>'kai.ttf', pointsize=>40, fill=>'green', text=>$text, y=>'40'); Is that what you meant? It's still not doing anything so it probably can't find the font. Is there a way I can leave the font face off and have it use a default font?

Thanks

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Image::Magick problems
by Roger (Parson) on Jan 19, 2004 at 06:48 UTC
    No I don't think it has a default font, you have to specify the default font yourself:
    $image->Set(font=>'/path/to/font.ttf');