PalmOS reference says:
Err FntDefineFont (FontID font, FontPtr fontP)
which will register the font pointed to by 'fontP' as a font with id 'font'.

Normally, fontP is a pointer to a locked font resource. Use your resource
compiler (I don't know which you are using) to create a font resource with
just '*' or points or whatever. Then, in your app, find and lock the
resource, register it with FntDefineFont(), and then use the font as you
would any other font.

Don't forget to unlock and release your font resource before you exit your
app.

See the discussion on Fonts in the API reference and the Companion.


On 3/15/07, Luca Bertoncello <[EMAIL PROTECTED]> wrote:
>
> "Jeff Loucks" <[EMAIL PROTECTED]> schrieb:
>
> > You can create your own font that contains only the default character
> '*' or
> > points.
>
> Do you have an example how I can create (and manage!) a custom font?
>
> Thanks
> Luca Bertoncello
> ([EMAIL PROTECTED])
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



-- 
[Jeff Loucks]

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to