π€ Custom fontsΒΆ
Typarr supports custom fonts for Typst compilations. Fonts placed in the
TYPARR_FONT_DIR directory are
automatically available to all documents via the --font-path flag.
Note
Supported formats: TTF, OTF, WOFF, WOFF2.
Managing fonts via the UIΒΆ
Administrators can manage fonts directly from the toolbar:
Click the font icon in the top-right toolbar.
Click Upload fonts to add one or more font files.
Hover over a font and click the delete icon to remove it.
Note
Font management is restricted to administrators.
Providing fonts via DockerΒΆ
Fonts can also be provided at container level without the UI, for example via a bind mount:
docker run -d \
-e TYPARR_FONT_DIR=/fonts
-v /fonts:/fonts \
β¦
Or by adding them to the image at build time:
# Set environment variable so Typarr / Typst knows where to look for the fonts.
ENV TYPARR_FONT_DIR=/fonts
# Copy the fonts into the Docker image.
COPY fonts/ /fonts