A Walk Through the Plug-In Development Kit, Part 3
It feels like it was only five months ago that we published part 2 of this series . Sorry for the long wait! This time, we’re taking our BadFont sample and going in two directions. First, we’ll add some TrueType font display code using the SDL_TTF library. Second, we’ll talk about packaging up your PDK app for installing on the device and submitting it to the Palm webOS App Catalog. As a bonus, we’ll also provide a makefile you can use on Windows for all of this. Here’s what it will look like when we’re done: Using TrueType Fonts All webOS devices ship with a set of TrueType fonts in /usr/share/fonts. The main system font on webOS is called Prelude and we include these fonts: Prelude-Bold.ttf Prelude-BoldOblique.ttf Prelude-Medium.ttf Prelude-MediumOblique.ttf PreludeCondensed-Bold.ttf PreludeCondensed-Medium.ttf The Oblique forms are what you get when you italicize text. The Condensed version is an alternate form that has thinner letters.

Read more here:
A Walk Through the Plug-In Development Kit, Part 3



