summaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
Diffstat (limited to 'book')
-rw-r--r--book/GNUmakefile6
m---------book/assets0
2 files changed, 3 insertions, 3 deletions
diff --git a/book/GNUmakefile b/book/GNUmakefile
index 4467822b..c80844ee 100644
--- a/book/GNUmakefile
+++ b/book/GNUmakefile
@@ -29,12 +29,12 @@ book.json: book.js
$(wordlist 2,99,$(png_pages)): $(word 1,$(png_pages))
out/book_01.%.png: book.typ book.json locale/%.ini out
- typst compile --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).png
+ typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).png
$(wordlist 2,99,$(svg_pages)): $(word 1,$(svg_pages))
out/book_01.%.svg: book.typ book.json locale/%.ini out
- typst compile --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).svg
+ typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).svg
out/book.%.pdf: book.typ book.json locale/%.ini out
- typst compile --input lang=$(subst out/,,$(*)) $< $@
+ typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< $@
out/%.webp: out/%.png
ffmpeg -i $< -y $@
diff --git a/book/assets b/book/assets
-Subproject 830ea1c06a116e999f5a00a84574715aa5cd1bf
+Subproject 353503235dbd6d4af7689cec3d81c38bf4f63c6