diff options
author | metamuffin <metamuffin@disroot.org> | 2024-11-22 14:55:17 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-11-22 14:55:17 +0100 |
commit | 98cd943e493e23932e5ddf031dd004306c7314b0 (patch) | |
tree | bab06bb2f963c3749330434a529a708425ac4905 /book | |
parent | cef88ee459fd2b0e22a2c997f858791fe0d5182e (diff) | |
download | hurrycurry-98cd943e493e23932e5ddf031dd004306c7314b0.tar hurrycurry-98cd943e493e23932e5ddf031dd004306c7314b0.tar.bz2 hurrycurry-98cd943e493e23932e5ddf031dd004306c7314b0.tar.zst |
use fonts from asset repo
Diffstat (limited to 'book')
-rw-r--r-- | book/GNUmakefile | 6 | ||||
m--------- | book/assets | 0 |
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 |