PHP: Set text with imagefttext and given width
<p>I want write some text on an jpg. I'm using the php function "imagefttext". The problem is, I want to specify the width of the text box.</p>

<p>In other words: How to write text in a 300px x 300px area on a 900px x 400px image.</p>

<p>How can I do this?</p>
