notebookinator icon indicating copy to clipboard operation
notebookinator copied to clipboard

:sparkles: Create font installation process

Open BattleCh1cken opened this issue 1 year ago • 2 comments
trafficstars

Requested Feature

Each of the themes currently use different fonts, but there isn't a good way to package fonts with a library in Typst.

Possible Implementation

  • Have the fonts included in the resources, and create a script that automatically installs them.
  • Wait until the Typst template system is finalized, and packaging fonts with templates is possible.

BattleCh1cken avatar Mar 05 '24 02:03 BattleCh1cken

At the very least we should tell the users in the documentation what fonts need to be installed for each theme.

BattleCh1cken avatar Mar 07 '24 15:03 BattleCh1cken

It looks like Typst will support a feature called resources, which will let us embed the fonts directly into the project. In the mean time I propose we migrate all of our fonts to googlefonts, and then write a script that can automatically fetch them for the user. This is extremely important for the quick start template because installing fonts is incredibly annoying in that environment.

BattleCh1cken avatar May 26 '24 13:05 BattleCh1cken