FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 4:56 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Tutorial for GFX Fonts
PostPosted: Thu Feb 26, 2009 6:57 am 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
I tried to make my own GFX font last night but for some reason it doesn't work. I read through this forum and came across multiple references to the "GFX Font Tutorial" but I could not find anything related to a tutorial in either the help files that came with FBA or in this forum. In the help files, it says:

"Load a graphical font using specified image.
The image have to be in gfx-font format, with first line
as chars delimiters.
See tutorials for more info."

So, can anyone shed some light on these tutorials and the gfx-font format?

Thanks.

Here is the jpg of my attempt.


Attachments:
font_cordia8.jpg
font_cordia8.jpg [ 9.97 KiB | Viewed 9521 times ]
Top
   
PostPosted: Thu Feb 26, 2009 9:43 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Is that jpeg the final image you are trying to load with loadgfxfont ?


Top
   
PostPosted: Thu Feb 26, 2009 5:00 pm 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
evilmaio wrote:
Is that jpeg the final image you are trying to load with loadgfxfont ?


ha ha. Yeah. I'm trying to make the smallest font readable on a standard 240x320 screen. I think I may have made it too small from the looks of it.
But anyway, I don't know because I can't get it load and display with the loadgfxfont. Is there some trick? BTW, I used paint.net to create the image.

thanks.


Top
   
PostPosted: Fri Feb 27, 2009 10:04 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
I didn't try, but it may be related to blending/smoothing the paint progam applied to jpeg file.
First line delimitators have to be a 'perfect' white color :D
Also, jpeg is a lossy format and saving it with lot compression could round some colors and break transparency, trying to save font in .PNG format and avoid blending on transparent color, while creating images with your paint program.
(I'm at work not, and I can't try your gfx file and/or clean it :))


Top
   
PostPosted: Fri Feb 27, 2009 11:34 pm 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
evilmaio wrote:
I didn't try, but it may be related to blending/smoothing the paint progam applied to jpeg file.
First line delimitators have to be a 'perfect' white color :D
Also, jpeg is a lossy format and saving it with lot compression could round some colors and break transparency, trying to save font in .PNG format and avoid blending on transparent color, while creating images with your paint program.
(I'm at work not, and I can't try your gfx file and/or clean it :))


Don't worry about it. Your suggestion to save it as a PNG file worked. Thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited