This project is my way of learning more about how fonts work under the hood. My goal is to eventually use the knowledge gained to write a Figma plugin for creating fonts using SVG paths.
This project is built with pnpm. First, make sure dependencies are installed. Run the following from the root of the repo:
pnpm installThen spin up the dev server:
pnpm devThis runs tsc --watch in the otfjs package and vite dev in the otfjs-ui package, so any changes you make to either package will be picked up automatically.
-
This spec is very well written and easy to understand. It's made working on this project a delight.
-
Apple TrueType reference manual
Not as good as the Microsoft docs, but generally the graphics explaining the complex instructions are more helpful as they give examples where the freedom and projection vectors are in different directions.