Description
Hey! :)
I installed the snap version of typst under Linux.
When I try to compile the .typ file I get an error that the font is not found.
The font is correctly installed and I see it in fc-list.
When I set TYPST_FONT_PATHS it works!
When I install typst with cargo install typst-cli it also works!
So it seems that the font discovery does not work as expected with the snap version for typst.
Reproduce:
sudo snap install typst
- get some font from the Internet and put it into ~/.local/share/fonts/
- use that font in your
.typ file
typst compile xyz.typ
Reproduction URL
No response
Operating system
Linux
Typst version
Description
Hey! :)
I installed the snap version of typst under Linux.
When I try to compile the
.typfile I get an error that the font is not found.The font is correctly installed and I see it in
fc-list.When I set
TYPST_FONT_PATHSit works!When I install typst with
cargo install typst-cliit also works!So it seems that the font discovery does not work as expected with the snap version for typst.
Reproduce:
sudo snap install typst.typfiletypst compile xyz.typReproduction URL
No response
Operating system
Linux
Typst version