A little while ago I began a little demo to play with fonts, but put it in the incomplete basket as I moved onto more interesting things. I came across the half complete program yesterday, and decided to finish it up and throw it up as another sample. I have having incomplete projects 🙂
The demo shows how to load the available font names, and allows you to cycle forwards and backwards through the list, with a sample of the current font shown on screen. Note that available fonts will differ between the simulator and devices, so you cannot just rely on what the list returns you on a given environment.
It also shows off the simple button class (which I have used in other samples) and the local event system I wrote which allows events to be created, and other objects or functions can just register themselves to listen to.
You can download the source here: [Download]