This site is no longer active and is available for archival purposes only. Registration and login is disabled.

TTF fonts


TTF fonts

Postby guynemer » Jan 19, 2007 @ 11:03am

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.
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby edge » Jan 19, 2007 @ 11:08am

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
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby guynemer » Jan 28, 2007 @ 8:56pm

Attachments
chocolate_muffin.zip
(38.55 KiB) Downloaded 494 times
guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby guynemer » Jan 28, 2007 @ 9:24pm

guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby Dan East » Jan 28, 2007 @ 11:11pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby guynemer » Jan 29, 2007 @ 2:41am

guynemer
pm Member
 
Posts: 56
Joined: Jan 18, 2007 @ 2:00pm


Postby Dan East » Jan 29, 2007 @ 4:59am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby edge » Jan 29, 2007 @ 9:49am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


I have a similar problem

Postby gilad_no » Feb 17, 2007 @ 12:44am

Attachments
font_input.zip
(1.26 KiB) Downloaded 493 times
gilad_no
pm Member
 
Posts: 22
Joined: Feb 13, 2007 @ 5:50pm
Location: Montreal


Postby edge » Feb 19, 2007 @ 9:45am

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Thanks

Postby gilad_no » Feb 19, 2007 @ 5:41pm

'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.
gilad_no
pm Member
 
Posts: 22
Joined: Feb 13, 2007 @ 5:50pm
Location: Montreal


Postby edge » Feb 20, 2007 @ 9:35am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Everything is fine now

Postby gilad_no » Feb 21, 2007 @ 1:00am

probably used the variable font without building the table first. Everything is working, thanks :D
gilad_no
pm Member
 
Posts: 22
Joined: Feb 13, 2007 @ 5:50pm
Location: Montreal


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron