#25926 [Bgs->Opn]: ImageTTFText and ImageTTFBox don't work and return weird values
ID: 25926 User updated by: olga at bluebytes dot com -Summary: ImageTTFText and ImageTTFBox don't work and return wierd values Reported By: olga at bluebytes dot com -Status: Bogus +Status: Open Bug Type: GD related Operating System: Linux PHP Version: 4.3.3 New Comment: My freetype lib is the latest, I tried fonts both from Windows distribution and the ones from freetype site; the script was a sample taken from php.net documentation. I am not the only one with this problem! Previous Comments: [2003-10-30 20:42:11] [EMAIL PROTECTED] Works fine for me. Update your freetype2 lib, get proper fonts, working script, etc. and it will work for you too. [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 [Fbk->Opn]: ImageTTFText and ImageTTFBox don't work and return wierd values
ID: 25926 User updated by: olga at bluebytes dot com Reported By: olga at bluebytes dot com -Status: Feedback +Status: Open Bug Type: GD related Operating System: Linux PHP Version: 4.3.3 New Comment: './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. Previous Comments: [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. [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
#25926 [Bgs->Opn]: ImageTTFText and ImageTTFBox don't work and return wierd values
ID: 25926 User updated by: olga at bluebytes dot com Reported By: olga at bluebytes dot com -Status: Bogus +Status: Open Bug Type: GD related Operating System: Linux PHP Version: 4.3.3 New Comment: 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. Previous Comments: [2003-10-21 15:38:47] [EMAIL PROTECTED] Using latest STABLE CVS snapshot with bundled GD library works just fine. [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
#25926 [NEW]: ImageTTFText and ImageTTFBox don't work and return wierd values
From: olga at bluebytes dot com Operating system: Linux PHP version: 4.3.3 PHP Bug Type: GD related Bug description: ImageTTFText and ImageTTFBox don't work and return wierd values 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 bug report at http://bugs.php.net/?id=25926&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25926&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25926&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25926&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25926&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25926&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25926&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25926&r=support Expected behavior: http://bugs.php.net/fix.php?id=25926&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25926&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25926&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25926&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25926&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25926&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25926&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25926&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25926&r=float