1
0
Fork
You've already forked ddd-module-fonts
0
No description
2026年07月13日 09:46:59 +02:00
0.0.1 rename package 2026年07月13日 09:46:59 +02:00
README.md update README for new org 2026年07月13日 09:37:19 +02:00

ddd-module-fonts

fonts to use with ddd-character-sheet

Setup

Check out or preferably add this as a git submodule into your projects directory tree:

git submodule add https://codeberg.org/ddd-sheets/ddd-module-fonts packages/local/ddd-module-fonts

While the packages directory in the example is optional and could be anything, it's absolutely crucial for typst to add the module as a subdirectory of a folder named local within the typst project structures.

Tell typst where your package directory is, by setting the environment variable TYPST_PACKAGE_PATH to the real path of the parent folder of the local directory. In our example that would be packages:

export TYPST_PACKAGE_PATH=/full/path/to/packages

Usage

With that set up, you can use the fonts from anywhere in your project by name:

#set text(font: "Source Sans Pro")...
#set text(font: "Noto Sans Math")...
#set text(font: "Twitter Color Emoji")...

Theres no import necessary.

About Versioning

The typst version should be kept stable at 0.0.1. We use git for versioning and aren't necessarily dependent on typst versioniong. This may change in the future.