At 12:01am -0800 00-12-14, Palm Developer Forum digest wrote:
>Subject: Font Pointers
>From: "Richard M. Hartman" <[EMAIL PROTECTED]>
>Date: Wed, 13 Dec 2000 16:48:52 -0800
>X-Message-Number: 62
>
>Is there any way to get the pointers to the ROM fonts?
There's no published API.
>Or perhaps is there
>a hard address I could rely on?
"rely on" for how long? One version of the OS? Anyway, if you're
looking for something stable to use in your code, the answer is no.
>FntGetFontPtr() will return a pointer to the current font ... but if
>FontHack is in play the current font may not be one of the ROM fonts even if
>you use one of the standard font IDs.
I'm curious why you need to get the ROM font, versus the current
font. Also note that Japanese (Shift-JIS) font pointers are not going
to be the same as Latin font pointers.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/