Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Darkhill on January 05, 2006, 02:35:13 am

Title: Fonttool
Post by: Darkhill on January 05, 2006, 02:35:13 am
Has anybody ever been able to get this to work?
Title: Re: Fonttool
Post by: taylor on January 05, 2006, 02:56:27 am
Yeah, but it doesn't do much.  Although I have a general idea of the FS1 font file layout I'm not so sure about the FS2 one.  This makes creating useful fonts (from a layout in PCX form) rather difficult since some character(s) is usually missing from my tests.  I have never used the Windows version of fonttool though, only the Linux ported version from icculus.org.
Title: Re: Fonttool
Post by: IPAndrews on January 05, 2006, 05:33:54 am
Volition's font format is a pain in the backside.
Title: Re: Fonttool
Post by: Darkhill on January 05, 2006, 01:04:58 pm
The fonttool in the original FS2 source crashes for everything I try and do.  I got to looking at it and playing around with it (font01 is *way* to small in 1024 res) and actually got it working.  The layout of the pcx is nothing special, characters are just placed in equal height boxes and its able to pick them out.  I pulled out the default font and put it back into the game.  Not quite as great the second time around because the letters are shaded and FS2 rendering them to screen doesn't help and I'm not an artist.  Even imported part of the Aurabesh font just to see how/if it would work.  Now I'm just working on transferring the program from a command line to using the game engine to run.  You guys are changing everything else with the game, interesting in having something besides Bank Gothic?

(http://ia.emperorshammer.net/teaser/desk.jpg)
(http://ia.emperorshammer.net/teaser/font.jpg)
Title: Re: Fonttool
Post by: taylor on January 05, 2006, 05:42:05 pm
You guys are changing everything else with the game, interesting in having something besides Bank Gothic
If I ever get the time to work on the code again there will be TTF support.
Title: Re: Fonttool
Post by: Darkhill on January 06, 2006, 03:08:54 pm
I won't bother with it then.