Jump to content

[SOLVED] font size in imagestring()


chocopi

Recommended Posts

How do you change the font size when using imagestring() ??

 

I know you can choose between 1 and 5 but since I added in a font, I do not know how to specify the font size

 

Here is my code:

 

imagestring($captcha, 5, 20, 10, $string, $colour);

 

but as soon as i replace the 5 with my $font, it becomes tiny

 

Thanks,

 

~ Chocopi

Link to comment
https://forums.phpfreaks.com/topic/57765-solved-font-size-in-imagestring/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.