> question....does the FONT resource have to be LOCKED for the duration of 
> the font usage. (looks as though you are unlocking it right away....and 
> where is the DmReleaseResource(fontHandle).....

  maybe FntDefineFont() makes a copy of it? :) 

  as for calling DmReleaseResource - it is not required. there has
  been discussion on this in palm-dev-forum recently. while it may
  be good programming practice to use it, all the API call does is
  { } (ie: nothing), and, its a waste of 4 bytes in your binary :)

> second...I did this. (don't know how to specify a "default" glyph. So I 
> created a font file with all glyphs as "*").
> The display does indeed display "*" for the characters.
> 
> So, how DO you specify a default glyph so I don't have to draw a "*" for 
> each character?

// missing character
GLYPH -1
-----
#####
#---#
#---#
#---#
#---#
#---#
#---#
#####
-----
-----

  or as you wish. the -1 glyph must be last and, it defines the
  missing character. :) if you looked up the examples that are
  available, you'd see this works.

  the above glyph is all you need inside the font file.

  hint: pilrc example (inside pilrc download)
  
> ------------------------------------------------------------------------
> James Barwick
> CTO
> James Barwick
> VP Technology

  ... do us all a favour - cut your sig to 4/5 lines :) its larger
  than the response you sent.

--
Aaron Ardiri
CEO - CTO
Mobile Wizardry
http://www.mobilewizardry.com/


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

Reply via email to