Problems with imagettftext and GD2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • binderup@gmail.com

    Problems with imagettftext and GD2

    PHP 4.3.11 on Ubuntu Linux with GD2

    I have compiled and installed PHP with these arguments:
    './configure' '--with-apxs=/www/bin/apxs' '--with-zlib' '--enable-exif'
    '--with-gd' '--with-mysql=/usr' '--with-mm' '--with-jpeg'
    '--with-jpeg-dir=/usr' '--with-png' '--with-ttf'

    And when I run any script created by myself or downloaded I get no
    errors with imagettftext, but the text is missing on the images. No
    warnings or notices are given, making debugging a bit harder.

    I have searched google all morning for an answer, but without luck.

    Does anyone have a clue for a solution to this?

  • binderup@gmail.com

    #2
    Re: Problems with imagettftext and GD2

    A thought.

    I have uploaded a font from my Win XP to the server. Are the Fonts used
    in windows different from the ones used in Linux?

    Comment

    Working...