> > -----Original Message-----
> > From: Ken Krugler [mailto:[EMAIL PROTECTED]]
>...
> >
> > >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.
> >
>
>Remember that my only published app is FontViewer, the purpose
>of which is to let you see & select among the fonts available.
>
>Currently I only show you the downloaded fonts (fonts found
>in databases). I would also like to put the ROM fonts into the
>list. But even if FontHack is substituting one of the Alpha
>fonts for your standard font ... I want to be able to select
>and display the standard font, so I need a reliable way to
>get a pointer to it.
Coordinate with FontHack to store the pre-hacked set of ROM font
pointers someplace that your app can get at them. Or (ugly) write
your own hack, figure out a way to ensure that it gets executed
before FontHack, and stash the pointers yourself.
-- 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/