#39543 [Opn->Bgs]: ImageTTFBBox & any2eucjp

From: Date: Fri, 17 Nov 2006 10:52:51 +0000
Subject: #39543 [Opn->Bgs]: ImageTTFBBox & any2eucjp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105138@lists.php.net to get a copy of this message
 ID:               39543
 Updated by:       tony2001@php.net
 Reported By:      mdelorme at tennaxia dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Suse 10.1
 PHP Version:      5.2.0
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




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

[2006-11-17 09:10:18] mdelorme at tennaxia dot com

Description:
------------
To be more accurate I've got
PHP Version 5.1.2
gd
--------------
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.1.10
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XPM Support 	enabled
XBM Support 	enabled
JIS-mapped Japanese Font Support 	enabled

Reproduce code:
---------------
<?php
$bounds = ImageTTFBBox(9,0,              
'/home/max/workspace/wwwdev/libraries/jpgraph/ttf/arial.ttf',
'Volume prélevé eau de ville'
);
?>

Expected result:
----------------
no warning

Actual result:
--------------
Warning: imagettfbbox() [function.imagettfbbox]: any2eucjp(): invalid
code in input string in /home/max/workspace/wwwdev/web/test.php on line
5



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


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


Thread (4 messages)

« previous php.bugs (#105138) next »