Copied this some time ago, can't recall who wrote it. Hope it helps.
Firstly let me say this is not my idea, I found the information elsewhere - there is also a thread in this forum but the link in it is dead;
The font I used on this is SCRIPTBL.TTF - you can get it from
http://www.fontonic.com/download.asp?id=5076This is what I did;
1. Create folder called font under il2root/Files folder - structure looks like il2root/Files/font
2. Using the sfs extractor open files.sfs and extract these 5 files to a temporary folder - arial8.font, arialb8.font, arial10.font, arialb10.font, and arialb12.font
3. Copy or move those 5 files from your temporary folder to your il2root/Files/font folder
4. Once you have downloaded the font file you want to use (in this case, SCRIPTBL.TTF) copy or move it to the font folder.
5. At least 3 font files now need to be edited (the 2 arial8.font files control the FMB menu and I didn't change them, you can if you wish) - Open arial10.font in Notepad/Wordpad and you will see something like this;
[ClassInfo]
ClassName TTTextureFont
[TTFFile]
// Il-2-Arial.ttf
arial.ttf <----------------------------------------- Current Font
[CharSize]
160 6
320 7
400 8
640 9
800 11
1024 14
1152 15
1280 17 <---------------------------------- screen resolution and character size for that resolution
1600 21
1920 26
2048 28
[_CodePage]
ascii
// eof
We can see that the arial.ttf is currently being used - put a // in front of that and on the next line add your font
[TTFFile]
// Il-2-Arial.ttf
// arial.ttf
SCRIPTBL.TTF
The next section deals with the character size;
[CharSize]
160 6
320 7
400 8
640 9
800 11
1024 14
1152 15
1280 17
1600 21
1920 26
2048 28
The figures down the left being the screen resolution, select the one that matches your screen resolution - eg my screen resolution is 1280x1024 so character size I need to edit is 17 - I change this figure up or down to suit. It is a case of trial and error - mine is now set on 18.
6. Do the same process for the other 2 font files, then check ingame how it looks, and adjust all 3 files to suit.
Different fonts will have different default sizes so you may have to play around a bit to get the right font at the right size.
My edited arial10.font file looks like;
///Almost all menu text and In-flight HUD text
[ClassInfo]
ClassName TTTextureFont
[TTFFile]
// Il-2-Arial.ttf
// arial.ttf
//OLDENGL.TTF
//CHELI___.TTF
//Embossed_Germanica.ttf
//gunmetl.ttf
//glassga.ttf
SCRIPTBL.TTF
[CharSize]
160 6
320 7
400 8
640 9
800 9
1024 12
1152 15
1280 18 /// menu and hud for widescreen 10 is default
1600 15
1920 26
2048 28
[_CodePage]
ascii
// eof
As you can see I've tried a few fonts
My arialb10.font file;
//some qmb and main headings
[ClassInfo]
ClassName TTTextureFont
[TTFFile]
// Il-2-ArialBD.ttf
// arialbd.ttf
//OLDENGL.TTF
//CHELI___.TTF
//Embossed Germanica.ttf
//gunmetl.ttf
SCRIPTBL.TTF
[CharSize]
160 6
320 7
400 8
640 9
800 9
1024 12
1152 15
1280 25 /// this reduces titles, default is 17
1600 21
1920 26
2048 28
[_CodePage]
ascii
// eof
My arial12.font file;
[ClassInfo]
ClassName TTTextureFont
[TTFFile]
// Il-2-ArialBD.ttf
// arialbd.ttf
// OLDENGL.TTF
// CHELI___.TTF
// Embossed_Germanica.ttf
// gunmetl.ttf
SCRIPTBL.TTF
[CharSize]
160 7
320 8
400 9
640 6
800 6
1024 8
1152 10
1280 25 ///loading text? 10 is default
1600 12
1920 16
2048 16
[_CodePage]
ascii
// eof