/otfjs

Primary LanguageTypeScriptMIT LicenseMIT

otfjs

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.

Development

This project is built with pnpm. First, make sure dependencies are installed. Run the following from the root of the repo:

pnpm install

Then spin up the dev server:

pnpm dev

This 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.

Reference

  • open type font spec

    This spec from Microft is very well written and easy to undersatnd. It's made working on this project a delight.