Bitmap Font creator, supporting .fontdef

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
Crystal Hammer
Greenskin
Posts: 131
Joined: Sat Jun 23, 2007 5:16 pm
Location: Poland
x 29
Contact:

Bitmap Font creator, supporting .fontdef

Post 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.

User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 12
Contact:

Re: Bitmap Font creator, supporting .fontdef

Post by metaldev »

font tools are super useful, thanks for posting this!
as every ui artist knows, fonts can be a pia.

EvaldsUrtans
Kobold
Posts: 28
Joined: Fri Oct 22, 2010 10:48 am

Re: Bitmap Font creator, supporting .fontdef

Post by EvaldsUrtans »

Have anyone found alternative to Crystal Font for building fontdef files on OSX?

User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 12
Contact:

Re: Bitmap Font creator, supporting .fontdef

Post 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.

EvaldsUrtans
Kobold
Posts: 28
Joined: Fri Oct 22, 2010 10:48 am

Re: Bitmap Font creator, supporting .fontdef

Post 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?

User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 12
Contact:

Re: Bitmap Font creator, supporting .fontdef

Post by metaldev »

im doing it on iOS.

in your .fontdef just do

Code: Select all

myFont
{
  	type truetype
  	source myfont.ttf
	size 60
}

EvaldsUrtans
Kobold
Posts: 28
Joined: Fri Oct 22, 2010 10:48 am

Re: Bitmap Font creator, supporting .fontdef

Post by EvaldsUrtans »

Thank you, I will test it with my fonts

EvaldsUrtans
Kobold
Posts: 28
Joined: Fri Oct 22, 2010 10:48 am

Re: Bitmap Font creator, supporting .fontdef

Post by EvaldsUrtans »

This is working, thank you :)

Post Reply