A PHP font question

Forum
Last Post
Threads / Messages

exdiogene

Member
Member
Joined
Oct 1, 2009
Messages
84
Points
0
Mysidian Dollar
4,900
One quick Question about PHP:

I have a .ttf in my script. It looks like this:

PHP:
$font = imageloadfont("./fonts/visitor1.ttf");

then:

PHP:
ImageString ($img_create, $font, 5, 2, ($text), $color);

How would i change the font size? :D
 
I think either the 5 or the 2 changes it. I know one alters the font size and one alters the line position, so play around with both. :)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top