PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Interested in my contribution ?

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.
Conan · 08 Oct 2003, 10:29 UTC — uploads area
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
OK i've uploaded fontclass.zip to the site/link mentioned.

Please help me improve or fix font.cpp/font.h if needed. :-)
Please Conan, call me Gersen not Gerson... or Thomas if you prefer :)
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.
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 )
BurningSheep · 09 Oct 2003, 11:24 UTC
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! =]
sorry for digging out old topic, but have anyone stored font class described here? I just need it :)
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].
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).
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 :) )
The worst case scenario if he found a woman and she owns a Palm :P
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 :)
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.