ID:               22092
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         GD related
 Operating System: Redhat 7.1
 PHP Version:      4.3.0
 New Comment:

also tried adding --with-ttf to the 4.3.0 compile, still no love


Previous Comments:
------------------------------------------------------------------------

[2003-02-06 12:48:16] [EMAIL PROTECTED]

just fyi, I put the /xxx/xxx/xxx in the file path to hide my directory
structure, however the gibberish for a warning came completely from php
:)

------------------------------------------------------------------------

[2003-02-06 12:46:42] [EMAIL PROTECTED]

here is the script:
<?php
print file_exists("fonts/arial.ttf");
imagettfbbox(20, 0, "fonts/arial.ttf","Testing... ");
?>

which produces the following:
1
Warning: imagettfbbox() [function.imagettfbbox]: øÈÿ¿G˜@ç%@ in
/xxx/xxx/xxx/xxx/test2.php on line 3

so the font file exists, I don't know if that is the problem or not,
but if I turn off error reporting, and use imagettftext, the text
doesn't show up.  I have several applications placing text on a jpeg
that work in 4.2.3 and don't place any text in 4.3.0, making 4.3.0
unusable to me until I can figure out what the difference is.  fyi,
compile flags are:

for 4.2.3 (working fine):
'./configure' '--with-apxs' '--with-mysql' '--with-ttf'
'--with-jpeg-dir' '--with-gd' '--with-xpm-dir=/usr/X11R6' '--with-png'
'--with-zlib' '--enable-track-vars' '--without-oracle' '--without-oci8'
'--with-xml' '--with-pdflib=/usr/local' 

for 4.3.0 (not working):
'./configure' '--with-apxs' '--with-mysql' '--with-xpm-dir=/usr/X11R6'
'--with-ttf' '--with-zlib' '--enable-track-vars' '--without-oracle'
'--without-oci8' --with-gd '--with-xml' '--with-pdflib=/usr/local'
'--disable-cgi' --with-jpeg-dir=/usr/lib/ --with-png
--enable-gd-native-ttf

Trying the same compile flags for 4.3 as was used on 4.2.3 doesn't work
as well.

Thanks in advance.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22092&edit=1

Reply via email to