#42218 [NEW]: ImageTTFBBox & any2eucjp
From: fernando at barnatech dot com
Operating system: Suse 10.1
PHP version: 5.2.4RC1
PHP Bug Type: GD related
Bug description: ImageTTFBBox & any2eucjp
Description:
------------
I don't know why bug #39543 is closed, as it's still alive in 5.2.4RC1.
The original poster of the bug proved it with accented letters. In my case
the trouble comes from the euro sign (a very big trouble, IMHO). Tipically
related to non ascii encoding.
By the way, there are no font bugs solved since PHP 5.0.4.
Reproduce code:
---------------
<?php
$bounds = ImageTTFBBox(9,0,
'/home/max/workspace/wwwdev/libraries/jpgraph/ttf/arial.ttf',
'áéíóú'
);
?>
or
<?php
$bounds = ImageTTFBBox(9,0,
'/home/max/workspace/wwwdev/libraries/jpgraph/ttf/arial.ttf',
''
);
?>
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=42218&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42218&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42218&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42218&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42218&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42218&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42218&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42218&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42218&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42218&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42218&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42218&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42218&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42218&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42218&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42218&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42218&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42218&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42218&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42218&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42218&r=mysqlcfg
Thread (24 messages)
- fernando at barnatech dot com
- pajoye@php.net#42218 [Opn->Bgs]: ImageTTFBBox & any2eucjp
- fernando at barnatech dot com#42218 [Bgs]: ImageTTFBBox & any2eucjp
- fernando at barnatech dot com#42218 [Bgs->Opn]: ImageTTFBBox & any2eucjp
- pajoye@php.net#42218 [Opn->Fbk]: ImageTTFBBox & any2eucjp
- fernando at barnatech dot com#42218 [Fbk->Opn]: ImageTTFBBox & any2eucjp
- pajoye@php.net#42218 [Opn->Fbk]: ImageTTFBBox & any2eucjp
- fernando at barnatech dot com#42218 [Fbk->Opn]: ImageTTFBBox & any2eucjp
- pajoye@php.net#42218 [Opn->Fbk]: ImageTTFBBox & any2eucjp
- fernando at barnatech dot com#42218 [Fbk->Opn]: ImageTTFBBox & any2eucjp
- jani@php.net#42218 [Opn->Fbk]: ImageTTFBBox & any2eucjp
- grzegorz at inventor dot com dot pl#42218 [Com]: ImageTTFBBox & any2eucjp
- bjori@php.net#42218 [NoF->Asn]: ImageTTFBBox & any2eucjp
- super at superduper dot org#42218 [Com]: ImageTTFBBox & any2eucjp
- super at superduper dot org#42218 [Com]: ImageTTFBBox & any2eucjp
- pajoye@php.net#42218 [Asn->Fbk]: ImageTTFBBox & any2eucjp
- super at superduper dot org#42218 [Com]: ImageTTFBBox & any2eucjp
- shenkong at qq dot comBug #42218 [Com]: ImageTTFBBox & any2eucjp
- yohgaki@php.netBug #42218 [NoF]: ImageTTFBBox & any2eucjp
- web at koenige dot orgBug #42218 [Com]: ImageTTFBBox & any2eucjp
- yohgaki@php.netBug #42218 [NoF]: ImageTTFBBox & any2eucjp
- web at koenige dot orgBug #42218 [Com]: ImageTTFBBox & any2eucjp
- web at koenige dot orgBug #42218 [Com]: ImageTTFBBox & any2eucjp
- himself at claus-justus-heine dot deBug #42218 [Com]: ImageTTFBBox & any2eucjp