Using FontBucket with OnBoardC

Thanks to Peter MoƱko, the author of TBmpEdit, it is very easy to compile FontBucket with OnBoardC. The files: FontBucket.c and FontBucket.h are totally free standing, and therefore do not need to call for example FnGlue.

This is all you have to do:

1. Add FontBucket.c to the project file list.
2. Include FontBucket.h in the files calling it.
3. Create three string resources containing:

string_resource RESOURCE_ID="9500"
text "System" /text

string_resource RESOURCE_ID="9504"
text "VGA Font Name" /text

string_resource RESOURCE_ID="9550"
text "Bold" /text

You can IMHO leave the resources out, but the Palm will then behave uncontrollably when the app runs without having FontBucket installs.

The files can be downloaded here:

That’s it! FontBucket is now part of your project. Now you need to use the FontBucket functions to make it work the way you want it to.

Related posts:

  1. Compiling FontBucket with PODS Part 2
  2. Compiling FontBucket with PODS Part 4
  3. Compiling FontBucket with PODS Part 3
  4. Compiling FontBucket with PODS 1.2
  5. OnBoardC and the glue library – changing control attributes

Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

© 2013 TamsPalm - the Palm OS / web OS Blog Suffusion theme by Sayontan Sinha