Sigx
http://forum.sigx.org/phpbb/

Small text issue [solved]
http://forum.sigx.org/phpbb/viewtopic.php?f=11&t=1631
Page 1 of 1

Author:  Karanina [ Sat Nov 22, 2008 12:54 pm ]
Post subject:  Small text issue [solved]

Hello ^^
For some reason my SigX isn't changing the size and color of the font as i'm asking it to. Even though I want a font size 2 it keeps showing the font as size 1. Here's a link to the image

http://karanina.site90.com/sig/gdtr2.php

I wanted to know what I was doing wrong. I specified in the file the size i want but to no avail. did the same in my settings

Author:  buddy1007 [ Sat Nov 22, 2008 3:16 pm ]
Post subject: 

in the php file where it says
Code:
$fz = GetMid($alldata,"<fz="," \fz>"); // font size

try changing it to
Code:
$fz = 2; //GetMid($alldata,"<fz="," \fz>"); // font size

or even try putting in a 3 see if that makes it bigger.


Here is a link to php.net manual's example of imagestring funciton.
http://us2.php.net/manual/en/function.imagestring.php

Author:  Karanina [ Sat Nov 22, 2008 7:29 pm ]
Post subject: 

okay that worked, now what about the color? :oops:

Author:  buddy1007 [ Sun Nov 23, 2008 3:51 pm ]
Post subject: 

where it says this in the php file
Code:
GetMid($alldata,"<fc="," \fc>"); // font color

change it to
Code:
$fc = "0,0,0";//GetMid($alldata,"<fc="," \fc>"); // font color


where the numbers 0, 0, 0 represent Red, Green, Blue, up to 255, 255, 255

Here is a link to php.net manual's example of imagecolorallocate funciton.
http://us2.php.net/manual/en/function.i ... locate.php

Author:  Karanina [ Thu Nov 27, 2008 7:41 pm ]
Post subject: 

Ty that worked ^^ and also ty for the manuals they cleared a lot of questions i had :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/