HOW TO MAKE FONT BIGGER.. HERES THE GUIDE
TOPSG :: Forum :: Guides / Tutorials
Page 1 of 1
HOW TO MAKE FONT BIGGER.. HERES THE GUIDE
Quote:
I adjusted my fonts after they looked horrible. You can try this and see if it works for you:
First go to your install directory and find the following file:
scripts/lua/font.clu
Make a backup of font.clu (incase you need to restoree original)
Open the original file in Notepad. You should see this:
-- ¡ä¡ä?¡¡ì¡Á?¡§?,2?¡§ºydwStyle?a¡§¡ã???¡§¡§y???¡§¦??¦Ì???o?: 0x0001-¡ä?¡§?,0x0002-D¡À¡§?,0x0004-¡ä???????,?a0¡§º??y3¡¨º¡§?
function UI_CreateFont( font, size800, size1024, dwStyle )
return CLU_Call("UI_CreateFont", font, size800, size1024, dwStyle )
end
DEFAULT_FONT = UI_CreateFont( "simsun", 12, 12, 0 )
FONT14 = UI_CreateFont( "simsun", 13, 13, 0 )
FONT16 = UI_CreateFont( "simsun", 13, 13, 1 )
BIGFONT = UI_CreateFont( "simsun", 48, 48, 0 )
ARIAL_FONT = UI_CreateFont( "simsun", 12, 12, 0 )
"simsun" refers to the font in the font folder; 12, 12 refers to the font size at 800X600 and 1024X768 respectively;0 or 1 refers to the text being bold or not
These settings are adjustable. It looks like your font is too big and is being cut off or is not registering correctly.
I changed mine to this (mine was small and broken up, now it's perfectly readable):
-- ¡ä¡ä?¡¡ì¡Á?¡§?,2?¡§ºydwStyle?a¡§¡ã???¡§¡§y???¡§¦??¦Ì???o?: 0x0001-¡ä?¡§?,0x0002-D¡À¡§?,0x0004-¡ä???????,?a0¡§º??y3¡¨º¡§?
function UI_CreateFont( font, size800, size1024, dwStyle )
return CLU_Call("UI_CreateFont", font, size800, size1024, dwStyle )
end
DEFAULT_FONT = UI_CreateFont( "simsun", 13, 13, 0 )
FONT14 = UI_CreateFont( "simsun", 14, 14, 0 )
FONT16 = UI_CreateFont( "simsun", 14, 14, 1 )
BIGFONT = UI_CreateFont( "simsun", 48, 48, 0 )
ARIAL_FONT = UI_CreateFont( "simsun", 13, 13, 0 )
Change your size to something else (maybe start by trying 11 instead of 12, 12 instead of 13...etc) save the file and open the game. On the first screen to choose the universe, you'll see the changes already taking place. If it doesn't look right still, reopen the file and try different settings. Tweak it until it looks right.
Hope it helps!
original link ;
http://forum.top.igg.com/viewthread.php?tid=19401
I adjusted my fonts after they looked horrible. You can try this and see if it works for you:
First go to your install directory and find the following file:
scripts/lua/font.clu
Make a backup of font.clu (incase you need to restoree original)
Open the original file in Notepad. You should see this:
-- ¡ä¡ä?¡¡ì¡Á?¡§?,2?¡§ºydwStyle?a¡§¡ã???¡§¡§y???¡§¦??¦Ì???o?: 0x0001-¡ä?¡§?,0x0002-D¡À¡§?,0x0004-¡ä???????,?a0¡§º??y3¡¨º¡§?
function UI_CreateFont( font, size800, size1024, dwStyle )
return CLU_Call("UI_CreateFont", font, size800, size1024, dwStyle )
end
DEFAULT_FONT = UI_CreateFont( "simsun", 12, 12, 0 )
FONT14 = UI_CreateFont( "simsun", 13, 13, 0 )
FONT16 = UI_CreateFont( "simsun", 13, 13, 1 )
BIGFONT = UI_CreateFont( "simsun", 48, 48, 0 )
ARIAL_FONT = UI_CreateFont( "simsun", 12, 12, 0 )
"simsun" refers to the font in the font folder; 12, 12 refers to the font size at 800X600 and 1024X768 respectively;0 or 1 refers to the text being bold or not
These settings are adjustable. It looks like your font is too big and is being cut off or is not registering correctly.
I changed mine to this (mine was small and broken up, now it's perfectly readable):
-- ¡ä¡ä?¡¡ì¡Á?¡§?,2?¡§ºydwStyle?a¡§¡ã???¡§¡§y???¡§¦??¦Ì???o?: 0x0001-¡ä?¡§?,0x0002-D¡À¡§?,0x0004-¡ä???????,?a0¡§º??y3¡¨º¡§?
function UI_CreateFont( font, size800, size1024, dwStyle )
return CLU_Call("UI_CreateFont", font, size800, size1024, dwStyle )
end
DEFAULT_FONT = UI_CreateFont( "simsun", 13, 13, 0 )
FONT14 = UI_CreateFont( "simsun", 14, 14, 0 )
FONT16 = UI_CreateFont( "simsun", 14, 14, 1 )
BIGFONT = UI_CreateFont( "simsun", 48, 48, 0 )
ARIAL_FONT = UI_CreateFont( "simsun", 13, 13, 0 )
Change your size to something else (maybe start by trying 11 instead of 12, 12 instead of 13...etc) save the file and open the game. On the first screen to choose the universe, you'll see the changes already taking place. If it doesn't look right still, reopen the file and try different settings. Tweak it until it looks right.
Hope it helps!
original link ;
http://forum.top.igg.com/viewthread.php?tid=19401
Nanilove- Sr Member
- Posts : 50
Join date : 2009-01-13
![-](https://2img.net/i/empty.gif)
» Guide On Forum Event for TOPSG,Topic=How to make MordoJR and ETC
» how to make $$$ with fairy coins o_o
» i cant register...n make account..
» Some event in forum
» A few steps on how to make money easily
» how to make $$$ with fairy coins o_o
» i cant register...n make account..
» Some event in forum
» A few steps on how to make money easily
TOPSG :: Forum :: Guides / Tutorials
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|