Register
Forget Password

Contest & Events

Related Articles

Advertisement

Tales of Pirates is a 3D Massively Multiplayer Online Role Playing Game developed by the Chinese company MOLI. Tales of Pirates is published by IGG (Internet Gaming Gate), Welcome join the tales of pirates forum

VoteMore

Vote for the Best MMO of 2010

Quick Fix for Font size

View:417

Editing font size- Precaution: only when you are unable to view the default font correctly.
First go to your install directory and find the following file:

scripts/lua/font.clu

First, make a backup of font.clu (incase you need to restore original)

Open the original file in Notepad. You would 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 as well as fonts installed in your XP or Vista; 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. Assuming your font looks too big, cut off or is not registering correctly. (looks gibberish)

You could try this minor adjustment to see if the font can be fixed.

-- ¡ä¡ä?¡¡ì¡Á?¡§¬?,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 )

Alternately you could change your font size (maybe start by trying 10 or 11(being the smallest number) and increment it gradually to 12 and then maybe 13 or 14...etc). Save the file and restart the game. Do not set such a big number, or the font would overlapped.

On the login screen, changes you implemented to the file are visible. If it doesn't look right, redo the steps mention above and try different font size settings. Tweak it until it looks right.

And when everything else fails, I guess you'll have to contact us moderator/admin for further assistance.


Terms & Conditions and Privacy Policy
Copyright © 2008 - 2010 Top1gaming.com All Rights reserved
Website Built by Top1gaming.