Font

This object represents a font resource loaded in memory. Actual text is rendered on the screen using the canvas. The font object can load .ttf fonts from file or pre-installed fonts from the user's system.

Figure 1: Font measurement functions