What exactly is UIFont’s point size?

A font has an internal coordinate system, think of it as a unit square, within which a glyph’s vector coordinates are specified at whatever arbitrary size accommodates all the glyphs in the font +- any amount of margin the font designer chooses.

At 72.0 points the font’s unit square is one inch. Glyph x of font y has an arbitrary size in relation to this inch square. Thus a font designer can make a font that appears large or small in relation to other fonts. This is part of the font’s ‘character’.

So, drawing an ‘A’ at 72 points tells you that it will be twice as high as an ‘A’ drawn at 36 points in the same font – and absolutely nothing else about what the actual bitmap size will be.

ie For a given font the only way to determine the relationship between point size and pixels is to measure it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)