Php Image Creation With Text

I'm trying to autogenerate some images with text in them. However, using imagettftext and imagefttext the font can't be found/opened. phpinfo indicates that both ttf and freetype are configured but where are the fonts?<br /><br />Thanks,<br />Michael<!--content-->
Welcome to the forums Michael <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />I believe you just upload a TTF font file to one of your folders and then access it from there. <br /><br />The path would be something like this.<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->/home/your-TCH-login-name/path-to-font-file/font.ttf<!--c2--></div><!--ec2--><!--content-->
Welcome to the forums, Michael! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/thumbup1.gif" style="vertical-align:middle" emoid=":thumbup1:" border="0" alt="thumbup1.gif" /><!--content-->
Welcome to the forums, Michael. It has been a while but I have done it as Bruce said and it did work.<!--content-->
That did the trick (I thought I had tried it, must have had the wrong path). Thanks for the quick replies!<!--content-->
Welcome to the forums, Michael <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />I know I am late, but<br />the <a href="http://gurusnetwork.com/tutorial/php_gd/" target="_blank">Gurusnetwork</a> has a nice tutorial on this.<!--content-->
Welcome to the forum, Michael. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top