summaryrefslogtreecommitdiff
path: root/cli/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-21 23:18:56 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-21 23:18:56 +0100
commitb934a2fd83d63fc115c01f959e888c7bc1aa87e4 (patch)
treef99e2e867733a2b37e3df2db24edf61d438adeb5 /cli/Cargo.toml
parent27bb5e8d22f6fe466cecc80bcbad9aec63b2a8f7 (diff)
Embed standard fonts in binaryv23-03-21-2
Diffstat (limited to 'cli/Cargo.toml')
-rw-r--r--cli/Cargo.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 97e2fa02..b91e15a5 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -27,3 +27,13 @@ pico-args = "0.4"
same-file = "1"
siphasher = "0.3"
walkdir = "2"
+
+[features]
+default = ["embed-fonts"]
+
+# Embeds Typst's default fonts for
+# - text (Linux Libertine),
+# - math (New Computer Modern Math), and
+# - code (Deja Vu Sans Mono)
+# into the binary.
+embed-fonts = []