php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34962 Text Wrapping in G.D Library
Submitted: 2005-10-23 05:23 UTC Modified: 2005-10-23 13:16 UTC
From: p dot tamilselvan at gmail dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 5.1.0RC3 OS: Windows Xp
Private report: No CVE-ID: None
 [2005-10-23 05:23 UTC] p dot tamilselvan at gmail dot com
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. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 13:16 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 02:00:03 2025 UTC