#39543 [NEW]: ImageTTFBBox & any2eucjp

From: Date: Fri, 17 Nov 2006 09:10:18 +0000
Subject: #39543 [NEW]: ImageTTFBBox & any2eucjp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105135@lists.php.net to get a copy of this message
From:             mdelorme at tennaxia dot com
Operating system: Suse 10.1
PHP version:      5.2.0
PHP Bug Type:     GD related
Bug description:  ImageTTFBBox & any2eucjp

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 bug report at http://bugs.php.net/?id=39543&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39543&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39543&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39543&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39543&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=39543&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39543&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39543&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39543&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39543&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39543&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=39543&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=39543&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39543&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39543&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39543&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39543&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39543&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39543&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39543&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39543&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#105135) next »