You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes fonts are stored in other directories, like on NixOS, for example, where fonts are stored in a totally separate directory. I'm not familiar with font detection, however, I believe the "conventional" way to go about this is by using the fontconfig library, as used by gimp and many other programs. There are a couple of other Rust alternatives I scoped out but they seem all either unmaintained or immature.
The text was updated successfully, but these errors were encountered:
typst
predefines these paths for font detection:/usr/share/fonts
/usr/local/share/fonts
$HOME/.local/share/fonts
The last one is obtained from the
dirs
crate.Sometimes fonts are stored in other directories, like on
NixOS
, for example, where fonts are stored in a totally separate directory. I'm not familiar with font detection, however, I believe the "conventional" way to go about this is by using thefontconfig
library, as used bygimp
and many other programs. There are a couple of other Rust alternatives I scoped out but they seem all either unmaintained or immature.The text was updated successfully, but these errors were encountered: