Image_Graph and Freetype support

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lorenzo Thurman

    Image_Graph and Freetype support

    I keep getting this error when trying to use fonts with Image_Graph:

    [29-May-2007 08:35:53] PHP Fatal error: Call to undefined function:
    imagettfbbox() in /usr/local/lib/php/Image/Canvas/GD.php on line 1240

    After Googling the error, it seems that I was missing Freetype support.
    I've installed Freetype and rebuilt PHP with Freetype support, but I
    still get the same error. I look at the output from phpinfo() and I see
    that PHP was compiled with this switch:
    --with-freetype-dir=/usr/local/lib'

    But I don't see anymore references to Freetype in the phpinfo output.
    Shouldn't there be more references to Freetype? Am I missing something else?
    Please help TIA
  • Jerry Stuckle

    #2
    Re: Image_Graph and Freetype support

    Lorenzo Thurman wrote:
    I keep getting this error when trying to use fonts with Image_Graph:
    >
    [29-May-2007 08:35:53] PHP Fatal error: Call to undefined function:
    imagettfbbox() in /usr/local/lib/php/Image/Canvas/GD.php on line 1240
    >
    After Googling the error, it seems that I was missing Freetype support.
    I've installed Freetype and rebuilt PHP with Freetype support, but I
    still get the same error. I look at the output from phpinfo() and I see
    that PHP was compiled with this switch:
    --with-freetype-dir=/usr/local/lib'
    >
    But I don't see anymore references to Freetype in the phpinfo output.
    Shouldn't there be more references to Freetype? Am I missing something
    else?
    Please help TIA
    You should see it in the "gd" section, things like:

    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.2.1

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Lorenzo Thurman

      #3
      Re: Image_Graph and Freetype support

      Jerry Stuckle wrote:
      Lorenzo Thurman wrote:
      >I keep getting this error when trying to use fonts with Image_Graph:
      >>
      >[29-May-2007 08:35:53] PHP Fatal error: Call to undefined function:
      >imagettfbbox () in /usr/local/lib/php/Image/Canvas/GD.php on line 1240
      >>
      >After Googling the error, it seems that I was missing Freetype
      >support. I've installed Freetype and rebuilt PHP with Freetype
      >support, but I still get the same error. I look at the output from
      >phpinfo() and I see that PHP was compiled with this switch:
      >--with-freetype-dir=/usr/local/lib'
      >>
      >But I don't see anymore references to Freetype in the phpinfo output.
      >Shouldn't there be more references to Freetype? Am I missing something
      >else?
      >Please help TIA
      >
      You should see it in the "gd" section, things like:
      >
      FreeType Support enabled
      FreeType Linkage with freetype
      FreeType Version 2.2.1
      >
      Thanks, we'll try this one more time.

      Comment

      Working...