Quickdraw GX (Wikipedia) was an early-90s 2D graphics and geometry library, that shipped in Macintosh System 7. It introduced support for TrueType fonts, that included kerning and ligatures. The code name was Skia.
Modern alternatives: Cairo, Antigrain, and the (not-coincidentally-named) Skia Graphics Engine.