summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorEric Biedert <github@ericbiedert.de>2024-10-07 10:23:32 +0200
committerGitHub <noreply@github.com>2024-10-07 08:23:32 +0000
commit82a2c3619ad6884fc3a50baa787a6fdc288f13e7 (patch)
tree801301ac612be2c2aadcf7ea0530c13e3a793325 /crates
parentdeb0308980b5928f9eee5dccbf3cd1e552eea90d (diff)
Add exception for NewCM Math Bold (#5126)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/text/font/exceptions.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/typst/src/text/font/exceptions.rs b/crates/typst/src/text/font/exceptions.rs
index 9234d76c..40998bb9 100644
--- a/crates/typst/src/text/font/exceptions.rs
+++ b/crates/typst/src/text/font/exceptions.rs
@@ -181,6 +181,9 @@ static EXCEPTION_MAP: phf::Map<&'static str, Exception> = phf::phf_map! {
.family("New Computer Modern"),
"NewCM10-Regular" => Exception::new()
.family("New Computer Modern"),
+ "NewCMMath-Bold" => Exception::new()
+ .family("New Computer Modern Math")
+ .weight(700),
"NewCMMath-Book" => Exception::new()
.family("New Computer Modern Math")
.weight(450),