FIX PHP Function 2 Limit Width of Converted TXT to PNG file

IN PROGRESS
Bids
1
Avg Bid (USD)
$30
Project Budget (USD)
$30 - $55

Project Description:
I am working on a my first Project with the help of the CodeCollective Initiative and recently lost my PHP/mySQL coder, and I have found a small bug in the script. (if you are a member of Forrst.com I have posted the php files there under username- jayism)
http://forrst.com/posts/Help_with_PHP_problem_please-FRE
- Otherwise I have can upload the 4 php files for you, though it has something to do with the generate_nfo.php or nfo2png.php files, as a solution was presented on Forrst.com but the PHP Guy did not yet see my code, so he basically wrote the code from scratch, as I have attatched (it does work as a php file one it's own but I need to to fit in with my code.)

OKAY SO HERE IS HOW THE SCRIPT WORKS (NFOPic.com)
It is only in the early stages - So far it converts TXT, NFO, DIZ files to .PNG Images. Everything works fine, except when converting a .txt file there is no max-width of the PNG file, so the wording runs off the page, as you will see with the example the PHP guy from Forrst.com wrote, his method does fix this problem, and has been tested, though MOST of his code is already part of my PHP script, so I need a PHP Coder from Freelancer/Scriptlance to take the code from his file (or if you have a better solution, you are free to use you're own techniques) so when a TXT file is converted there is a maximum width of 600px (and please comment the PHP code */ so myself and future coders can keep up, as we still have alot of features to add in future versions)
Also, you will see in the Forrst.com Coders file he has added some great ideas besides just the width, if you can make use of these extra lines of code please do - either in you're own style or by using his code directly, which he has given me permission to use to fix the error.

I was told by another coder it should not take more than 2-5 lines of code max. to get this overflowing text bug fixed, aswell as neaten up the code and add */comments to the existing code and change any comments from the older version that no longer applies, and please use // instead of deleting code in my files if they are no longer needed.

Here is the GitHub URL to all the Files for easy ZIP Download:
https://github.com/noblejay/NFO2PNG

And the .zip file below (forrst_code.zip) is the code the generous PHP coder came up with before he understood I already had the code that converted TXT files to Image Files.... It has very helpful code though I have spent almost 1wk on it and cannot make any of it fit without producing errors (I am a CSS/HTML coder, I can understand most PHP, but have no idea how to fix this particular problem!


I HOPE ONE OF U PHP CODERS CAN HELP ME WITH THIS! I also have extra Features to be added while the Designers are working on the BETA Design, so I have a list of more work to the Coder who can replace my old freelance coder, as I have plenty of work for PHP/mySQL - Javascript/CSS3/jQuery/AJAX Coders and Web Designers/Developers on this project and the CodeCollective Initiative Organization site/blog/forum/VPS Setup/Illustration and more. (A Developers Collaboration Organization co-founded by Forrst.com & Dribbble Members).

Skills required:
CSS, Javascript, jQuery / Prototype, MySQL, PHP
Additional Files: nfo2png.php nfo2pngfont generate_image.php get_image.php index.php nfo.js FORRST_Coder_Files.rar
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire AlexK1995
$ 200
in 5 days
Hire pygmallion
$ 30
in 3 days