![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#10
|
|||
|
|||
![]()
ok, there's an error at the code, the '12' at "imagestring ($image, 12, 0, $textheight, $str1, $color)" is being referred to a built-in font.. but there are only 5 built-in fonts in php, so 12 is being used as font 5
the 12 is not the size of the font, if you change 12 to 5, you'll see the result is the same. the size (width and height) of the font (each char), is placed at the font file, in this case, in the 5th built-in font if you want to use anotehr font, you can use $font = imageloadfont("font place here"); imagestring ($image, $font, 0, $textheight, $str1, $color); but the font must be .gdf here's a windows converter from ttf to gdf http://www.wedwick.com/wftopf.exe but.. the fonts get pretty ugly anyway -_- so I'm using that in my site: PHP Code:
PHP Code:
thats it :D - Edit - oh, i found another thing the $textheight determines where to place the first string of the text, it cames below the image, so this PHP Code:
PHP Code:
|
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Level 0 alt image | SilverDragonTears | Questions and Supports | 3 | 05-03-2012 12:15 AM |
Level Up automaticly when it get a number of clicks? | Blues | Questions and Supports | 1 | 07-26-2009 09:08 AM |
Question about clicks needed to level up | kisazeky | Questions and Supports | 2 | 03-22-2009 02:49 PM |
Adoptable Level Image + Another Question | gjac1 | Suggestions and Feature Requests | 14 | 02-25-2009 03:40 AM |
Problem With clicks and level!! | assflusher | Questions and Supports | 9 | 02-05-2009 04:59 PM |
What's New? |
What's Hot? |
What's Popular? |