> From: Tom Warfel [mailto:[EMAIL PROTECTED]]
> I would like to be able to access the built-in Palm Fonts
> In the past, I've been able to
> // Get handle for the intrinsic Regular Palm Font.
> -----> regularHandle = DmGetResource( 'NFNT', 0x2328 );
> -----> regularboldHandle = DmGetResource( 'NFNT', 0x2329 );
> Unfortunately, these last two lines don't work under the PalmOS 4 DR3
Live by the undocumented feature, die by the undocumented feature. :-)
A quick look with Insider shows that the system NFNT resources got
renumbered and relocated in 4.0. But that's still just undocumented
internals so you need to find an officially supported way to do this.
> Does anyone know how I could do something similar in 4.0?
Why not call FntGetFontPtr? It should do the same thing as explicitly
fetching the font resources directly.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/