custom PHP function needed - imagettftext and imagettfbox modification

Cancelled Posted May 24, 2012 Paid on delivery
Cancelled Paid on delivery

i'm looking for a custom function along the lines of the following:

**function renderText($string,$font,$font_size=12,$width_limit=600,$line_limit=2,$base_spacing=0,$filename)**

- standard GD functions will be used (imagettftext, imagettfbbox, etc)

- $font is a path to a ttf font file

- $width_limit is the maximum width of the image. line breaks will be added if necessary

- $line_limit is the number of lines of text allowed

- $base_spacing is the spacing between letters. 0 is default

- $filename where the output file will be rendered

- the function will render a png image and return true on success and false if it fails

- if the text wraps to more lines than $line_limit allows, text will be adjusted to $line_limit number of lines, and the spacing between the letters will be lowered as little as possible (by 0.1) until it fits on $line_limit number of lines

- this function is meant for small amounts of text, so it won't be necessary to try to cram what should be 10 lines of text into 2 lines.

Amazon Web Services PHP Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #2744735

About the project

9 proposals Remote project Active Jun 15, 2012

9 freelancers are bidding on average $69 for this job

PaulN1

See private message.

$85 USD in 14 days
(46 Reviews)
6.8
koles23

See private message.

$50.15 USD in 14 days
(18 Reviews)
6.1
xsixer

See private message.

$85 USD in 14 days
(126 Reviews)
6.0
D3SolutionsIndia

See private message.

$70 USD in 14 days
(18 Reviews)
5.2
raziel27

See private message.

$17 USD in 14 days
(3 Reviews)
4.0
getitrightvw

See private message.

$80.75 USD in 14 days
(31 Reviews)
3.9
veeru12

See private message.

$80.75 USD in 14 days
(25 Reviews)
3.6
webguru1987

See private message.

$85 USD in 14 days
(13 Reviews)
3.2
fakhirmahmood

See private message.

$50.15 USD in 14 days
(17 Reviews)
3.1
imranslogic

See private message.

$30 USD in 14 days
(0 Reviews)
0.0