Available Fonts on the iPhone

I was recently asked about support for fonts on the iPhone. Surprisingly, the list of fonts is quite comprehensive. To give you an idea of the available fonts, I’ve written a simple application to dump the font information to the console inside Xcode.

Here is what I came up with:

Pretty basic stuff. The code for the debug output looks as follows:

You can read more about the debug macro here).

The output looks as follows (for version 2.1 of the iPhone):