PHP5 - GIF and TTF support

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

    #1

    PHP5 - GIF and TTF support

    I'm writing text on a GIF with a custom TTF font on my dev server
    (Apache/PHP4 with bundled GD). It works nice.

    On the production serveur (Mandrake: Apache2/PHP5) error happens : Call to
    undefined function imagettfbbox()
    Is there a special trick or release to be abble to use GIF r/w support and
    True Type Font support too ?

    Thanks for any hints, i cant find a way out without rewriting all the code
    right now :(


  • Andy Hassall

    #2
    Re: PHP5 - GIF and TTF support

    On Thu, 16 Dec 2004 18:18:45 +0100, "azathoth" <azathoth@archi net.fr> wrote:
    [color=blue]
    >I'm writing text on a GIF with a custom TTF font on my dev server
    >(Apache/PHP4 with bundled GD). It works nice.
    >
    >On the production serveur (Mandrake: Apache2/PHP5) error happens : Call to
    >undefined function imagettfbbox()
    >Is there a special trick or release to be abble to use GIF r/w support and
    >True Type Font support too ?
    >
    >Thanks for any hints, i cant find a way out without rewriting all the code
    >right now :([/color]

    Have a look back at your ./configure output - did PHP see the FreeType
    library? Do you have FreeType installed? This is required to use TTF fonts on
    *nix systems.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    Working...