PHP 4.0 Bug #9710: ImageTTFText bounding box coordinates incorrect in manual
| From: | bobw123 at mail dot com | Date: | Mon, 12 Mar 2001 18:00:39 +0000 |
| Subject: | PHP 4.0 Bug #9710: ImageTTFText bounding box coordinates incorrect in manual | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48755@lists.php.net to get a copy of this message | ||
From: bobw123@mail.com
Operating system: BSDI 4.1
PHP version: 4.0.2
PHP Bug Type: Documentation problem
Bug description: ImageTTFText bounding box coordinates incorrect in manual
Hi,
The coordinates returned from ImageTTFText
are stated to be "upper left, upper right, lower right, lower left"
in the manual, but are returned as the following ( which is the
same array structure that is returned from ImageTTFBBox):
bottom left:
x: 0
y: 1
bottom right
x: 2
y: 3
top right:
x: 4
y: 5
top left:
x: 6
y: 7
Possibly the newer version of GD/PHP returns the different array
sructure, as I am using GD 1.3.
Bob
--
Edit Bug report at: http://bugs.php.net/?id=9710&edit=1