For TrueType/OpenType fonts, glyphs (characters) are defined by anchor points and Bézier curves. To produce a text image, glyphs need to be rendered as a digital image, i.e.