Editing Fonts (How To)
A while ago I wanted to edit the fonts in the game, but couldn't find any instructions on the forums, so I decided to try myself. I figured I'd post what I found incase anyone else wanted to have a go at it, as I can't seem to find any fonts that fit quite as well as the originals.
-------------------------------------------------------------------------
Files To Modify: fonts.ini and rich_fonts.ini
These are located in ...\Freelancer\Data\Fonts
-------------------------------------------------------------------------
fonts.ini
These are the basic fonts in the game, they are the usual light blue color.
-------------------------------------------------------------------------
First, the basics:
[TrueType
nickname =
font =
fixed_height =
[TrueType ;Specifies the type of font, you should probably leave this as
;true type.
nickname = ;refers to a text used in the game, basically what you are
;defining the font for, like the equiptment text, etc.
font = ;the name of the font, its file must be in the defualt font
;directory, use the Windows name for the font (the one you
;see in MS Word).
fixed_height = ;The size, this is given in a decimal, SMALLER IS BETTER,
;i.e. 0.043500 is a good size to start with.
-------------------------------------------------------------------------
Now the file, and what each part does (as far as I know):
[TrueType
nickname = ButtonText ;Fonts on Buttons Ex: Load Game,
font = Agency FB ;New Game, etc.
fixed_height = 0.043500
[TrueType
nickname = PageHeader ;Menu Titles and Subsections
font = Agency FB
fixed_height = 0.045000
[TrueType
nickname = SubHeader ;Menu Objects
font = Agency FB
fixed_height = 0.038500
[TrueType
nickname = ItemName ;Items Ex: Equiptment Readout
font = Agency FB ;Names
fixed_height = 0.035000
[TrueType
nickname = ListText ;?
font = Arial Unicode MS
fixed_height = 0.030000
[TrueType
nickname = ToolTip ;The font on the Tool Tip screens
font = Arial Unicode MS ;when you start the game
fixed_height = 0.030000
[TrueType
nickname = Rollover ;?
font = Arial Unicode MS
fixed_height = 0.026000
[TrueType
nickname = HudSmall ;HUD Text - All HUD Text
font = Agency FB
fixed_height = 0.030000
[TrueType
nickname = MissionObjective ;In-Space Mission Text (Instructions
font = Agency FB ;Displayed At Top Of Screen)
fixed_height = 0.060000
[TrueType
nickname = Normal ;Nav Map Sectors, Speed & Thruster
font = Agency FB ;Readout, Version Number, Etc. - AKA
fixed_height = 0.035000 ;Other
[TrueType
nickname = NewsMission ;Listings In Mission and News
font = Agency FB ;Selection Bars, excluding lower
fixed_height = 0.030000 ;description
[TrueType
nickname = NewsTicker ;Scroling Ticker At Bottom Of News
font = Agency FB ;Screen
fixed_height = 0.045000
[TrueType
nickname = PlayerName ;?
font = Arial Unicode MS
fixed_height = 0.025000
[TrueType
nickname = TradePlayerName ;?
font = Arial Unicode MS
fixed_height = 0.025000
[TrueType
nickname = DebugText ;?
font = FixedSys
fixed_height = 0.030000
[TrueType
nickname = ConfirmPlayerText ;?
font = Arial Unicode MS
fixed_height = 0.040000
[TrueType
nickname = ConfirmText ;?
font = Agency FB
fixed_height = 0.040000
[TrueType
nickname = NavMap1600 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.015000 ;exactly...
[TrueType
nickname = NavMap1024 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.024000 ;exactly...
[TrueType
nickname = NavMap1280 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.022500 ;exactly...
[TrueType
nickname = NavMap800 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.027500 ;exactly...
-------------------------------------------------------------------------
Well, that's the first font file, it's pretty simple to modify, you just change the 'font =' line to a font you want, and find a size that works. The fonts currently used are very compact, anything much larger makes the text overlap other things, so you will want to take that into account.
You may want to try using fonts that come with a clipart program or something like that, as most of Window's won't go with the game very well. Keep in mind that if you include fonts in a mod that are not in the Windows directory, you will need to distribute the file in the mod, and the font file must go into the appropriate directory, so that might be a minor problem.
The ?'s are for things that I couldn't find had any effect, a lot of them I know, so if someone finds out what they do, please post it.
Note: Some fonts are defined in the fonts and rich_fonts files, and if you change them in one and not the other, it can have strange effects. I don't know which these are right now, just so you know, if you have a problem, this could be why.
Next, I will post the rich_fonts file, probobly tomorrow, those are all the fonts that have colors to them, like chat and menu titles. Good luck.
Edited by - Clone on 3/15/2004 7:41:19 PM
-------------------------------------------------------------------------
Files To Modify: fonts.ini and rich_fonts.ini
These are located in ...\Freelancer\Data\Fonts
-------------------------------------------------------------------------
fonts.ini
These are the basic fonts in the game, they are the usual light blue color.
-------------------------------------------------------------------------
First, the basics:
[TrueType
nickname =
font =
fixed_height =
[TrueType ;Specifies the type of font, you should probably leave this as
;true type.
nickname = ;refers to a text used in the game, basically what you are
;defining the font for, like the equiptment text, etc.
font = ;the name of the font, its file must be in the defualt font
;directory, use the Windows name for the font (the one you
;see in MS Word).
fixed_height = ;The size, this is given in a decimal, SMALLER IS BETTER,
;i.e. 0.043500 is a good size to start with.
-------------------------------------------------------------------------
Now the file, and what each part does (as far as I know):
[TrueType
nickname = ButtonText ;Fonts on Buttons Ex: Load Game,
font = Agency FB ;New Game, etc.
fixed_height = 0.043500
[TrueType
nickname = PageHeader ;Menu Titles and Subsections
font = Agency FB
fixed_height = 0.045000
[TrueType
nickname = SubHeader ;Menu Objects
font = Agency FB
fixed_height = 0.038500
[TrueType
nickname = ItemName ;Items Ex: Equiptment Readout
font = Agency FB ;Names
fixed_height = 0.035000
[TrueType
nickname = ListText ;?
font = Arial Unicode MS
fixed_height = 0.030000
[TrueType
nickname = ToolTip ;The font on the Tool Tip screens
font = Arial Unicode MS ;when you start the game
fixed_height = 0.030000
[TrueType
nickname = Rollover ;?
font = Arial Unicode MS
fixed_height = 0.026000
[TrueType
nickname = HudSmall ;HUD Text - All HUD Text
font = Agency FB
fixed_height = 0.030000
[TrueType
nickname = MissionObjective ;In-Space Mission Text (Instructions
font = Agency FB ;Displayed At Top Of Screen)
fixed_height = 0.060000
[TrueType
nickname = Normal ;Nav Map Sectors, Speed & Thruster
font = Agency FB ;Readout, Version Number, Etc. - AKA
fixed_height = 0.035000 ;Other
[TrueType
nickname = NewsMission ;Listings In Mission and News
font = Agency FB ;Selection Bars, excluding lower
fixed_height = 0.030000 ;description
[TrueType
nickname = NewsTicker ;Scroling Ticker At Bottom Of News
font = Agency FB ;Screen
fixed_height = 0.045000
[TrueType
nickname = PlayerName ;?
font = Arial Unicode MS
fixed_height = 0.025000
[TrueType
nickname = TradePlayerName ;?
font = Arial Unicode MS
fixed_height = 0.025000
[TrueType
nickname = DebugText ;?
font = FixedSys
fixed_height = 0.030000
[TrueType
nickname = ConfirmPlayerText ;?
font = Arial Unicode MS
fixed_height = 0.040000
[TrueType
nickname = ConfirmText ;?
font = Agency FB
fixed_height = 0.040000
[TrueType
nickname = NavMap1600 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.015000 ;exactly...
[TrueType
nickname = NavMap1024 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.024000 ;exactly...
[TrueType
nickname = NavMap1280 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.022500 ;exactly...
[TrueType
nickname = NavMap800 ;seems to effect the nav map, but
font = Agency FB ;can't figure out when and how
fixed_height = 0.027500 ;exactly...
-------------------------------------------------------------------------
Well, that's the first font file, it's pretty simple to modify, you just change the 'font =' line to a font you want, and find a size that works. The fonts currently used are very compact, anything much larger makes the text overlap other things, so you will want to take that into account.
You may want to try using fonts that come with a clipart program or something like that, as most of Window's won't go with the game very well. Keep in mind that if you include fonts in a mod that are not in the Windows directory, you will need to distribute the file in the mod, and the font file must go into the appropriate directory, so that might be a minor problem.
The ?'s are for things that I couldn't find had any effect, a lot of them I know, so if someone finds out what they do, please post it.
Note: Some fonts are defined in the fonts and rich_fonts files, and if you change them in one and not the other, it can have strange effects. I don't know which these are right now, just so you know, if you have a problem, this could be why.
Next, I will post the rich_fonts file, probobly tomorrow, those are all the fonts that have colors to them, like chat and menu titles. Good luck.
Edited by - Clone on 3/15/2004 7:41:19 PM