Get fonts from content folder

This commit is contained in:
Artemis Tosini 2023-11-30 05:28:26 +00:00
parent 01fef3d182
commit cef0b38f11
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -239,4 +239,4 @@ with open("options.json", "w") as options:
if args.dont_compile:
exit()
os.execlp("typst", "typst", "compile", args.template, "output.pdf")
os.execlp("typst", "typst", "compile", "--font-path", "content", "--font-path", os.getenv("TYPST_FONT_PATHS"), args.template, "output.pdf")