Date: 07/02/98
- Next message: Stig S. Bakken: "Re: [PHP-DEV] Re: [PHP3] Where is my last Char going?! (fwd)"
- Previous message: eschmid: "[PHP-DEV] CVS update: php3/doc/functions"
- Next in thread: Stig S. Bakken: "Re: [PHP-DEV] Bug #498: ImageTTFBBox returns negative values"
- Reply: Stig S. Bakken: "Re: [PHP-DEV] Bug #498: ImageTTFBBox returns negative values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: slip <email protected>
Operating system: Solaris 2.5.1
PHP version: 3.0 Latest CVS
PHP Bug Type: Misbehaving function
Bug description:
I tried the new function ImageTTFBBox out and got some
negative X and Y values is that supposed to be so?
<?php
$test=ImageTTFBBox(20,0,"Arialn.ttf","Test");
?>
Result:
$test[0] is -1 (UL, X)
$test[1] is -1 (UL, Y)
$test[2] is 30 (UR, X)
$test[3] is -1 (UR, Y)
$test[4] is 30 (LR, X)
$test[5] is -15 (LR, Y)
$test[6] is -1 (LL, X)
$test[7] is -15 (LL, Y)
(UL=Upper Left corner, and so on)
Here's my configure line:
./configure --with-apache=/extern2/src/apache_1.3.0 --with-gd=/usr/local
--with-mysql --enable-debug=no --enable-track-vars=yes --enable-memory-limit=yes
Regards,
Stefan Livieratos
- Next message: Stig S. Bakken: "Re: [PHP-DEV] Re: [PHP3] Where is my last Char going?! (fwd)"
- Previous message: eschmid: "[PHP-DEV] CVS update: php3/doc/functions"
- Next in thread: Stig S. Bakken: "Re: [PHP-DEV] Bug #498: ImageTTFBBox returns negative values"
- Reply: Stig S. Bakken: "Re: [PHP-DEV] Bug #498: ImageTTFBBox returns negative values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

