I am the author of Weasel Reader, an e-text reader program for Palm OS.  I am
trying to add support for high density screens in OS 5.0 to my program.

Currently, I have decent support for Handera QVGA and Sony hi-res, but I am
having trouble with high density.  I can draw easily enough in the higher
resolution, but I cannot seem to control the size of text drawn to the screen.

I want my users to have two options as they do with QVGA/Sony: Use the
original small Palm fonts and fit more on the screen, or use the larger fonts
for a better display.

I cannot, however, figure out how to draw low density characters to an
offscreen bitmap.  How can I force a font of particular density to be used for
drawing applications?  Right now it uses the low density font in my low
density bitmap, but then pixel-doubles everything when copied.  Not that
useful.  If I hack my program to use a high density offscreen window, the the
high density font will be used.  Unlike Sony's hi-res, the small/large fonts
do not have different FontIDs.

How can I solve this problem?  I've looked in the KB, and also looked through
the BitmapRsc example, but it didn't help much.


-- 
--John Gruenenfelder    Research Assistant, Steward Observatory, U of Arizona
                        [EMAIL PROTECTED]
Try Weasel Reader for PalmOS  --  http://gutenpalm.sf.net
"This is the most fun I've had without being drenched in the blood
of my enemies!"
        --Sam of Sam & Max

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to