Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

Interested in my contribution ?


Interested in my contribution ?

Postby jcvw75 » Oct 8, 2003 @ 8:36am

I just finished a font class that is compatible
with the font bitmaps generated by MetalShard
font maker from gapidraw package.

Basically this font class will retrieve the width
information of each character and so you can
use the displaytext function to draw text.

The reason i did this is that I don't want to ship
true type fonts and install them into the pocketpc
os fonts folder. I just treat the fonts as bitmaps
or png or gif and I could use utilities like
debabelizer to shave outlines on the fonts and make
them look more contrast and solid.

If there's any interest in this font class I'll
need to find a place to upload the source somewhere
along with a demo short game that uses it to display
fps.

I think pocketfrog need some font package to compete
with gapidraw but didn't wanna feel restricted with
the vgafonts though.

It would be cool if someone can help test the
performance, and remove any bugs and add more
features to it if possible.
jcvw75
pm Member
 
Posts: 10
Joined: Oct 8, 2003 @ 8:30am


uploads area

Postby Conan » Oct 8, 2003 @ 11:29am

There is an uploads area already. You can upload to Frank's site for others to download. ).
http://www.omnytex.com/pf/fileexchange/fileexchange.asp

I'm interested in having a look later when I start my next game (currently using the font stuff from Gerson in this one
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby jcvw75 » Oct 8, 2003 @ 2:00pm

OK i've uploaded fontclass.zip to the site/link mentioned.

Please help me improve or fix font.cpp/font.h if needed. :-)
jcvw75
pm Member
 
Posts: 10
Joined: Oct 8, 2003 @ 8:30am


Postby gersen » Oct 8, 2003 @ 3:26pm

Please Conan, call me Gersen not Gerson... or Thomas if you prefer :)
User avatar
gersen
pm Member
 
Posts: 147
Joined: Oct 19, 2002 @ 8:40am
Location: Italy


Postby fzammetti » Oct 8, 2003 @ 6:04pm

VGA FONTS RULE!!

:)

That's a good job jcv, I think many people will appreciate the contribution.

Just a suggestion for the community...

I think someone should pick up the ball of the PF high-level library and run with it, once Thierry is finished putting PH underneath it. I don't think Thierry intends to do this (correct me if I'm wrong of course), so someone else should take over that chore.

People seem to want to contribute now, and there really needs to be one focal point to do so, probably independant of PH development.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Conan » Oct 8, 2003 @ 8:51pm

Note to Thomas Gersen: so sorry, grovel grovel :oops:
It's ages since I have seen your name in type so I wrote what I heard in my head. Whatever I'm using your fonts in the game & they are working well.

Conan ( but you can call me Ian )
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 9, 2003 @ 12:24pm

I always use Bitmap Font Builder by LMNOpc. With BFB you can just choose to export the character widths to a binary or .ini file, maybe you wanna look into it.

Also a formatted DisplayText() funtcion would be nice, sure it's not clean, object-oriented or type safe, but it's damn handy! =]
Do you want custom Snails levels? Click here
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Postby DaGGeR » Jun 24, 2005 @ 9:12pm

sorry for digging out old topic, but have anyone stored font class described here? I just need it :)
Space bastards! Shoots you for your own good!
User avatar
DaGGeR
pm Member
 
Posts: 49
Joined: Aug 7, 2004 @ 12:24pm
Location: Moscow, Russia


Postby BIGBEN » Jun 25, 2005 @ 3:34am

Ooops, when I click on http://www.omnytex.com/pf/fileexchange/fileexchange.asp
I get a 404 page :?
It would be interesting to see yours, now I use modified version (multicodepage+auto-multiline) Thomas Maniero's font class.

To Gersen: Long ago forgot to report you about small bug in your font class. Using any non-standart american characters(non ANSI-ASCII or how its called) in text output will produce an error in Font::Draw(), since char is signed and your rect structure used for output, treats the string like it's unsigned(forgot the name something like Rect all_letters[255]), so using any 80-FF characters(any special from your locale) in text string will produce an error.
And of course its easy to fix with something like all_letters[charcurrent + 128].
User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby fzammetti » Jun 27, 2005 @ 9:38pm

FYI, the PF site I used to run was long ago taken down... I passed all the contents along to Thierry, but to the best of my knowledge it has never been posted anywhere.

If anyone needs content from it, feel free to contact me, I still have it all archived.

I haven't seen a whole lot from Thierry lately... Hope he's OK :) I wonder what the future of PF is at this point? As near as I can tell, the last PF release was August of last year, and even PH hasn't seen a release since February (not nearly as long of course, but still).
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Conan » Jun 28, 2005 @ 6:47am

Frank, if you want to send your stuff to me I will put it up in my PF pages.

Last I read Thierry had bought an Axim X50 so maybe he is deep in VGA stuff? (or as sometimes happens he's found a woman and that's the end of his coding for a while :) )
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby BIGBEN » Jun 28, 2005 @ 7:12am

The worst case scenario if he found a woman and she owns a Palm :P
User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby DaGGeR » Jun 28, 2005 @ 9:19pm

Not long ago i saw him on gapidraw forum asking about 18bpp displays. Maybe she owns new nokia smartphone? O_o

Frank, can u email PF stuff to me? dagger at rnt.ru, size does'n matter it's huge corporate mailbox :)
Space bastards! Shoots you for your own good!
User avatar
DaGGeR
pm Member
 
Posts: 49
Joined: Aug 7, 2004 @ 12:24pm
Location: Moscow, Russia


Postby fzammetti » Jun 28, 2005 @ 9:35pm

I don't really want to be mailing it to everyone individually, so I'm going to take Conan up on his offer and send it to him and he can host it. Look for it tonight Conan.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


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