#34962 [NEW]: Text Wrapping in G.D Library

From: Date: Sun, 23 Oct 2005 03:23:25 +0000
Subject: #34962 [NEW]: Text Wrapping in G.D Library
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86932@lists.php.net to get a copy of this message
From: p dot tamilselvan at gmail dot com Operating system: Windows Xp PHP version: 5.1.0RC3 PHP Bug Type: GD related Bug description: Text Wrapping in G.D Library Description: ------------ I need to know whether the is any possiblity in wraping a long text in a piture that is created with the G.D library function imagettfbox() & imagettftext() function. Reproduce code: --------------- for Example the The Text is like [to be written in the picture] "Welcome to the world of php. Php stands for Hypertext Pre-Processor." Expected result: ---------------- [img]http://img454.imageshack.us/img454/4073/19te.jpg[/img] I want similar thing like above which wraps the text when going to the border of the picture. Actual result: -------------- Screenshot 1: [img]http://img454.imageshack.us/img454/4364/21sr.jpg[/img] in the screenshot 1 the text is written in the picture but it does not wrap. -- Edit bug report at http://bugs.php.net/?id=34962&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34962&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34962&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34962&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34962&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34962&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34962&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34962&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34962&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34962&r=support Expected behavior: http://bugs.php.net/fix.php?id=34962&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34962&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34962&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34962&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34962&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34962&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34962&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34962&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34962&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34962&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34962&r=mysqlcfg

« previous php.bugs (#86932) next »