Page 1 of 1

TTF fonts

PostPosted: 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.

PostPosted: 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

PostPosted: Jan 28, 2007 @ 8:56pm
by guynemer

PostPosted: Jan 28, 2007 @ 9:24pm
by guynemer

PostPosted: Jan 28, 2007 @ 11:11pm
by Dan East

PostPosted: Jan 29, 2007 @ 2:41am
by guynemer

PostPosted: Jan 29, 2007 @ 4:59am
by Dan East

PostPosted: Jan 29, 2007 @ 9:49am
by edge

I have a similar problem

PostPosted: Feb 17, 2007 @ 12:44am
by gilad_no

PostPosted: 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

PostPosted: 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.

PostPosted: Feb 20, 2007 @ 9:35am
by edge

Everything is fine now

PostPosted: Feb 21, 2007 @ 1:00am
by gilad_no
probably used the variable font without building the table first. Everything is working, thanks :D