Why can't this GD command find font?

Discussion in 'PHP' started by Sleeping Troll, Sep 17, 2008.

  1. #1
    imagettftext($overlay , 36 , 0 , $PosLeft , $PosBottom, $red , "Fonts/$Font" , $Txt[2]);
    Code (markup):
    This is error generated:

    Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/content/t/r/o/trollnest/html/bragflags/TxttoImg.php on line 46
    Code (markup):
     
    Sleeping Troll, Sep 17, 2008 IP
  2. chessh

    chessh Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you have the font on your server? :)
     
    chessh, Sep 17, 2008 IP