Re: GD with TTF - compiled, no errors but no text (PHP 4.3.3)
| From: | Mary Hinge | Date: | Sun, 28 Dec 2003 18:05:21 +0000 |
| Subject: | Re: GD with TTF - compiled, no errors but no text (PHP 4.3.3) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12430@lists.php.net to get a copy of this message | ||
> but imagettftext() doesn't show any text! and futhermore there is no
> error-message with error_reporting = E_ALL
I have exactly the same problem with my Apache DSO install of PHP. I also
have a non-DSO install that works just fine. Both installs are from the same
source package (4.3.4) and on the same machine.
phpinfo() looks like this for both installs:
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Broken install:
./configure --with-mysql=/usr/local/mysql/ --with-zlib --enable-bcmath --wit
h-gd --with-ttf --enable-gd-native-ttf --with-apxs=/usr/local/apache/bin/apx
s
Working install:
./configure --prefix=/usr/local/php-cgi --with-zlib --enable-bcmath --with-g
d --with-ttf
"Morten Fangel" <mfa@desi-dev.dk> wrote in message
news:20031102130435.75267.qmail@pb1.pair.com...
> Hi
>
> I have compiled PHP (4.3.3) with the following ./configure
>
> ---
> './configure'
> '--with-mysql'
> '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-gd'
> '--with-zlib-dir'
> '--enable-gd-native-ttf'
> '--with-ttf'
> ---
>
> which gives the following GD-entry in the phpinfo()
>
> ---
> GD Support enabled
> GD Version bundled (2.0.15 compatible)
> FreeType Support enabled
> FreeType Linkage with TTF library
> GIF Read Support enabled
> PNG Support enabled
> WBMP Support enabled
> XBM Support enabled
> ---
>
> but imagettftext() doesn't show any text! and futhermore there is no
> error-message with error_reporting = E_ALL
>
> does anyone have a clue to why this happens?
>
> Regards
> - Morten "MFA" Fangel | KarmaSomething