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

Font support ?


Font support ?

Postby Conan » Oct 16, 2002 @ 11:00am

I know that earlier versions had a built in font. While I have been using GDI fonts these are just too slow for use in the main game loop.

I suggest that interested parties discuss the requirement with a view to either sharing the work to implement an add-on or even better having font support included within PocketFrog.

In PocketGL the simple letters as a bitmap approach is taken one step further by including character width information. This gives a slightly better look than a simple fixed font though is still restricted in size. While it is possible to code access to TTF font data this would be much more work & would be slower again.

I will look at the method used in GapiDraw to see if it's easy enough to follow.

What does the FP community think ?
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby BurningSheep » Oct 16, 2002 @ 12:55pm

I still use the Bitmap Builder by LMNOpc, it has some options to save font width as well.

http://www.lmnopc.com/bitmapfontbuilder/

But what I would like to see is a font class where you give the name of the windows font when you create the class. And it will render all chars to a bitmap as well as saving the width of every char at creation.

Quite simple to implement in PF really... but never got around to actually do it.
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


thanks for the link

Postby Conan » Oct 16, 2002 @ 1:37pm

I am going to have a good look at this font builder. (It may be the same or similar to the PocketGL font)

Do you already have a working function to utilise these fonts? If so is it clean enough to share?
If not I will write my own at the weekend.

I agree that supporting TTF would be the best approach but it's more work than I can handle at the moment.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby BurningSheep » Oct 16, 2002 @ 1:55pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


font class

Postby Conan » Oct 16, 2002 @ 2:15pm

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Kzinti » Oct 16, 2002 @ 7:33pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby BurningSheep » Nov 2, 2002 @ 4:02am

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby draklava » Nov 5, 2002 @ 9:09pm

User avatar
draklava
pm Member
 
Posts: 79
Joined: May 15, 2002 @ 6:13am
Location: Atlanta, Albania, Wherever


Postby Johan » Nov 5, 2002 @ 9:13pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Kzinti » Nov 5, 2002 @ 10:03pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Johan » Nov 5, 2002 @ 11:17pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby BurningSheep » Nov 6, 2002 @ 12:36am

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby BurningSheep » Nov 8, 2002 @ 7:02pm

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby LYRIXX » Jan 21, 2003 @ 5:43am

LYRIXX
pm Member
 
Posts: 4
Joined: Jan 19, 2003 @ 8:11pm


Postby jack » Jan 22, 2003 @ 5:23am

jack
pm Member
 
Posts: 3
Joined: Jan 7, 2003 @ 1:01pm


Next

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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