Hi.
I have added .fontdef output to my bitmap font creating program Crystal Font 4.46. Its GPL and works on Windows.
Here is it's homepage:
http://code.google.com/p/crystalfont/
You can download it from there, see some examples with better description of what can be done with it.
In short: you can pick a system TTF font, select character range, use coloring and adjust many parameters. Glow can be used to generate an outline, also there are parameters for alpha channel.
Probably the easiest way is to look at included examples.
To save a texture and a .fontdef file change Type (for Chars data at [save] tab) to ogre .fontdef.
Much can be achieved but with patience, I started this program on college and many things aren't best: all is done with keyboard and there's not much info on parameters.
Hit F11 for keyboard help - how to navigate.
I hope someone will find it useful.
Bitmap Font creator, supporting .fontdef
-
- Orc
- Posts: 405
- Joined: Sat Jun 23, 2007 5:16 pm
- x 115
-
- Orc Shaman
- Posts: 761
- Joined: Thu Mar 17, 2005 11:56 pm
- Location: Boston
- x 15
Re: Bitmap Font creator, supporting .fontdef
font tools are super useful, thanks for posting this!
as every ui artist knows, fonts can be a pia.
as every ui artist knows, fonts can be a pia.
-
- Kobold
- Posts: 28
- Joined: Fri Oct 22, 2010 10:48 am
Re: Bitmap Font creator, supporting .fontdef
Have anyone found alternative to Crystal Font for building fontdef files on OSX?
-
- Orc Shaman
- Posts: 761
- Joined: Thu Mar 17, 2005 11:56 pm
- Location: Boston
- x 15
Re: Bitmap Font creator, supporting .fontdef
there is a font tool that comes in the ogre build, if you want to try that.EvaldsUrtans wrote:Have anyone found alternative to Crystal Font for building fontdef files on OSX?
Also, Ogre can build your fonts out of .ttf, but it takes longer to load since obviously it has to do the calculations to turn the ttf into a texture.
-
- Kobold
- Posts: 28
- Joined: Fri Oct 22, 2010 10:48 am
Re: Bitmap Font creator, supporting .fontdef
1) As far as I know font tool can turn .dat fonts into .fontdef, not directly from ttf/otf, right? But there is no tool for mac to make these .dat files or is it?
2) I'm developing iPhone app based on Ogre and it seems it does not load them on iOS - has anyone managed to load ttf fonts directly into Ogre on iOS?
2) I'm developing iPhone app based on Ogre and it seems it does not load them on iOS - has anyone managed to load ttf fonts directly into Ogre on iOS?
-
- Orc Shaman
- Posts: 761
- Joined: Thu Mar 17, 2005 11:56 pm
- Location: Boston
- x 15
Re: Bitmap Font creator, supporting .fontdef
im doing it on iOS.
in your .fontdef just do
in your .fontdef just do
Code: Select all
myFont
{
type truetype
source myfont.ttf
size 60
}
-
- Kobold
- Posts: 28
- Joined: Fri Oct 22, 2010 10:48 am
Re: Bitmap Font creator, supporting .fontdef
Thank you, I will test it with my fonts
-
- Kobold
- Posts: 28
- Joined: Fri Oct 22, 2010 10:48 am
Re: Bitmap Font creator, supporting .fontdef
This is working, thank you 
