iPad fonts

Below is a graphic listing all the fonts supported by default on the iPad.  It’s a rather tall graphic, so I’ll keep the rest of this short post above it.

Here’s the main chunk of code used to generate these images:

This is the only method you need to override in your own

UIViewController

in order to get a scrollable view of all the fonts available on your device – this code works on all iPhone OS devices (so, yes, iPads, iPhones, and iPod touches so far).  Many thanks to Dr. Touch for this great post on

<a href="http://www.drobnik.com/touch/2010/02/understanding-uifont/">UIFont</a>

that helped me become less of a font newb (for example, the

leading

property of a font is basically the line height, in pixels, of a single line of text).

Happy coding!

One Comment

  1. johnnie
    Posted May 16, 2010 at 3:10 pm | Permalink

    “ledding” has nothing to do with the line height in pixels.

    it is the gap between lines, measured in the usual points used to measure the height of type.

    when type was made of actual metal (ie, led, atomic element number 82, “Pb”) you put ledd between the lines of metal type to change the gap between lines. Hence, “ledding”.

    the spelling “leading” is very confusing – some people who know nothing about type think it is the word “lead” as in “lead guitar”.

    (in fact it is for EXACTLY THIS REASON that “led zepplin” is spelled “led” because they wanted it to be clear it was “led” (Pb, the metal stuff) and not “leed” !!)

    typically in typography you hear something about type with two numbers and a line in the middle,

    like helvetica “14/18″ meaning 14 point size type, with 18 point size ledding.

    ledding is never, ever, ever, ever measured in pixels and has nothing to do with pixels.

    it is measured in points, just like type. simple!

    normally the ledding point size is just a bit bigger than the type point size

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*