TTF fonts
Posted:
Jan 19, 2007 @ 11:03am
by guynemer
Hey
I was wondering where it was possible to use those types of fonts with the edgelib ?
So far I've found nothing about that matter.
Posted:
Jan 19, 2007 @ 11:08am
by edge
Hi Guynemer,
It's not possible to use truetype fonts with Edge directly. We recommend using the font tool and photoshop template to convert it to bitmap font.
The font tool tutorial is available here:
http://www.edgelib.com/index.php?node=472
Posted:
Feb 19, 2007 @ 9:45am
by edge
Hi Gilad,
The font you've attached works fine, maybe you've attached the fixed font instead of the variable width font?
If you're using a font with variable width characters (with lines above them) you need to build a table. Call surface.BuildTableVwf() after setting the colorkey.
Thanks
Posted:
Feb 19, 2007 @ 5:41pm
by gilad_no
'BuildTableVwf' solved the problem. Do I need to call it for fixed font as well? Because when I've tried to use my font as a fixed font, it didn't work for me.
Everything is fine now
Posted:
Feb 21, 2007 @ 1:00am
by gilad_no
probably used the variable font without building the table first. Everything is working, thanks