Is it possible to copy the bytes (MemMove) from a low density
bitmap to a high density bitmap of the exact same size in bytes?

Then you could draw low density fonts into a low density bitmap,
move the raw bytes to a high density bitmap (without pixel doubling),
and then draw that high density bitmap to the display.

There's also a set of tiny OS 5 font resources somewhere on the
PalmSource web site.

Ron Nicholson
HotPaw
 <http://www.hotpaw.com/rhn/hotpaw>

------ original message ------
On Wed, 18 Dec 2002 18:32:18, John Gruenenfelder  writes:
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.


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

Reply via email to