Page 1 of 1

Bitmap Font creator, supporting .fontdef

Posted: Sat Jul 03, 2010 4:34 pm
by Crystal Hammer
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.

Re: Bitmap Font creator, supporting .fontdef

Posted: Sat Jul 03, 2010 5:30 pm
by metaldev
font tools are super useful, thanks for posting this!
as every ui artist knows, fonts can be a pia.

Re: Bitmap Font creator, supporting .fontdef

Posted: Wed Nov 02, 2011 5:21 pm
by EvaldsUrtans
Have anyone found alternative to Crystal Font for building fontdef files on OSX?

Re: Bitmap Font creator, supporting .fontdef

Posted: Wed Nov 02, 2011 6:16 pm
by metaldev
EvaldsUrtans wrote:Have anyone found alternative to Crystal Font for building fontdef files on OSX?
there is a font tool that comes in the ogre build, if you want to try that.
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.

Re: Bitmap Font creator, supporting .fontdef

Posted: Thu Nov 03, 2011 2:56 pm
by EvaldsUrtans
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?

Re: Bitmap Font creator, supporting .fontdef

Posted: Thu Nov 03, 2011 3:45 pm
by metaldev
im doing it on iOS.

in your .fontdef just do

Code: Select all

myFont
{
  	type truetype
  	source myfont.ttf
	size 60
}

Re: Bitmap Font creator, supporting .fontdef

Posted: Fri Nov 04, 2011 1:35 pm
by EvaldsUrtans
Thank you, I will test it with my fonts

Re: Bitmap Font creator, supporting .fontdef

Posted: Mon Nov 28, 2011 3:39 pm
by EvaldsUrtans
This is working, thank you :)