Font-To-Width

Font‑To‑Width (FTW!) is a script by Nick Sherman and Chris Lewis that takes advantage of large type families to fit pieces of text snugly within their containers. Unlike other text-fitting tools like FitText.js, Font‑To‑Width does not scale the font-size (at least not by default). Instead, it chooses a width or weight variant according to what fits best, and then allows for letter- and word-spacing adjustments as needed.

Many changes/improvements are coming, but you can still download it from Github in the mean time.

The demo below, based on a photo of shuffleboard standings from Jason Santa Maria, uses all 6 widths of the Panorama font collection from Production Type.