Discuss PocketC for Palm OS (including Desktop Edition)

Postby deegee on Sun Jul 15, 2007 8:54 am

I have previously written several programs which use a small font in the screen display (these apps were written for pre Palm OS version 3.5 using a font hack program and Hackmaster). I now have a Treo and want to adapt these programs for use on the later Palm OS which does not allow hacks. I would like to find a way of using small fonts as the Palm font is too large and doesn't allow enough information on the screen. Any ideas? (answers in words of one syllable appreciated).
Posts: 3
Joined: Sat Jun 30, 2001 10:11 pm
Location: United Kingdom

Postby bagaag on Fri Aug 03, 2007 5:26 pm

I had the same question! Anyone know an answer, or that there is no answer?

EditMe - The Easy Wiki Host
EditMe - The Easy Wiki Host
Posts: 2
Joined: Fri Aug 03, 2007 5:23 pm

Postby dewey on Fri Aug 03, 2007 7:30 pm

The OS doesn't allow this without a bit of trickery. PocketC does not support this sort of trickery.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Postby sangahm on Mon Aug 06, 2007 7:23 pm

Is it a *little* trickery or *a lot* of trickery? Care to expand on what can be done?
Posts: 118
Joined: Mon Jul 04, 2005 3:43 pm
Location: USA

Postby dewey on Tue Aug 07, 2007 3:13 am

If I can recall my investigation years ago...
In theory (not tested), this would be done by creating an offscreen buffer at native resolution, but telling that OS that it was really standard resolution. Then drawing some text, re-marking the offscreen buffer back as native resolution, and copying to the screen.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Re: Fonts

Postby arcstrait on Sun May 25, 2008 7:40 am

Why not simply copy bitmap font letters to another screen then refer to each letter in terms of image coordinates?
Posts: 5
Joined: Thu Jan 17, 2008 1:15 am

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 0 guests