Skip to content

Commit 2d7f903

Browse files
Configure font fallbacks for box-drawing chars and emoji support
1 parent 5411b71 commit 2d7f903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ output-file = "rust-course.pdf"
3131
pdf-engine = "tectonic"
3232
pdf-engine-opt = ["-Z", "continue-on-errors"]
3333
to = "pdf"
34-
variables = { mainfont = "Noto Sans CJK SC", sansfont = "Noto Sans CJK SC", CJKmainfont = "Noto Sans CJK SC", monofont = "DejaVu Sans Mono" }
34+
variables = { mainfont = "Noto Sans CJK SC", sansfont = "Noto Sans CJK SC", CJKmainfont = "Noto Sans CJK SC", monofont = "DejaVu Sans Mono", monofontfallback = ["DejaVu Sans Mono:", "Noto Color Emoji:"], mainfontfallback = ["Noto Sans CJK SC:", "Noto Color Emoji:"] }
3535

3636
[output.pandoc.profile.epub]
3737
output-file = "rust-course.epub"

0 commit comments

Comments
 (0)