#25926 [Opn->Bgs]: ImageTTFText and ImageTTFBox don't work and return wierd values

2003-10-30 Thread sniper
 ID:   25926
 Updated by:   [EMAIL PROTECTED]
 Reported By:  olga at bluebytes dot com
-Status:   Open
+Status:   Bogus
 Bug Type: GD related
 Operating System: Linux
 PHP Version:  4.3.3
 New Comment:

Works fine for me. Update your freetype2 lib, get proper fonts, working
script, etc. and it will work for you too.



Previous Comments:


[2003-10-24 18:07:05] vygen at planwerk6 dot de

I had the same strange problem with the built in gd support. 

As i tried to compile against my installed gd 1.8.4 (suse 7.2 gd.rpm
and gd-devel.rpm) with --with-gd=/usr everything worked fine again.



[2003-10-22 09:56:11] olga at bluebytes dot com

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6' '--with-ming=../ming-0.2a'
'--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-sockets'
'--enable-track-vars' '--enable-versioning' '--with-zlib' '--with-ttf'
'--with-freetype' '--enable-gd-native-ttf' '--enable-exif' 

I am assuming --wtih-gd uses bundled version. Sorry if I am incorrect.



[2003-10-22 01:47:36] [EMAIL PROTECTED]

What was the configure line you used to configure PHP?
If you didn't use the _bundled_ GD library, close this.




[2003-10-21 17:33:04] olga at bluebytes dot com

Actually, I just installed PHP Version 4.3.4RC3-dev which is marked as
stable on snaps.php.net, and it's still not working.



[2003-10-21 15:38:47] [EMAIL PROTECTED]

Using latest STABLE CVS snapshot with bundled GD library works just
fine.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25926

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


#25926 [Opn->Bgs]: ImageTTFText and ImageTTFBox don't work and return wierd values

2003-10-21 Thread sniper
 ID:   25926
 Updated by:   [EMAIL PROTECTED]
 Reported By:  olga at bluebytes dot com
-Status:   Open
+Status:   Bogus
 Bug Type: GD related
 Operating System: Linux
 PHP Version:  4.3.3
 New Comment:

Using latest STABLE CVS snapshot with bundled GD library works just
fine.



Previous Comments:


[2003-10-20 15:50:41] olga at bluebytes dot com

Description:

ImageTTFText doesn't output any characters. If there's anything else in
the image, the rest will be fine; if the text string is the only thing,
the image will be blank.
Trying to figure out what's wrong, I took a look at the return values
from ImageTTFText as well as ImageTTFBox. They both produce huge
values, i.e. Array ( [0] => 138323388 [1] => 11 [2] => -1073754136 [3]
=> 1076636124 [4] => 138611764 [5] => 138323484 [6] => 11 [7] => 0 ) 

The values DO NOT depend on the font used. Furthermore, they are
different each time I load the page for the SAME font
(http://blunoise.com/imagetext.php shows values for "Hello world" in
arial).

Reproduce code:
---



Expected result:

A jpeg saying "Hello world"






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