Changing font size of GDF fonts over PNG image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deva
Forum Newbie
Posts: 7
Joined: Tue Jun 12, 2007 3:18 am

Changing font size of GDF fonts over PNG image

Post by deva »

Hi,

I used imagecreatefrompng("ur.png"),
and created a png image. And used
imagestring($im, $fontgdf, $leftPos, $height, $text, $txtcolor); to write over the png image. I downloaded and used gdf fonts. Function imagestring() does not take fontsize as parameter, therefore i could not change the font size. Any one help me how to change the font size of gdf fonts over png images.

thanks,
deva
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This thread seems awfully similar to your previous thread..

viewtopic.php?t=69053
Post Reply