| View previous topic :: View next topic |
| Author |
Message |
Karanina
Joined: 08 Nov 2008 Posts: 3
|
Posted: 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 |
|
| Back to top |
|
 |
buddy1007
Joined: 03 Jul 2003 Posts: 650
|
Posted: 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 _________________
~~~SigX C++ Edition~~~ |
|
| Back to top |
|
 |
Karanina
Joined: 08 Nov 2008 Posts: 3
|
Posted: Sat Nov 22, 2008 7:29 pm Post subject: |
|
|
okay that worked, now what about the color? |
|
| Back to top |
|
 |
buddy1007
Joined: 03 Jul 2003 Posts: 650
|
Posted: 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.imagecolorallocate.php _________________
~~~SigX C++ Edition~~~ |
|
| Back to top |
|
 |
Karanina
Joined: 08 Nov 2008 Posts: 3
|
Posted: 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 |
|
| Back to top |
|
 |
|