diff options
| author | Eric Biedert <github@ericbiedert.de> | 2025-01-16 14:40:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-16 13:40:57 +0000 |
| commit | c22c47b9c97062309ed841679bb49fc15bb6a398 (patch) | |
| tree | bbd0d1f33a044e842cdf4ecddffa9fad3efd65f4 | |
| parent | 63c4720ed2b9e034fda6810a9c0e521355a24c44 (diff) | |
Add font exception for NewCM Sans Math (#5682)
| -rw-r--r-- | crates/typst-library/src/text/font/exceptions.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/typst-library/src/text/font/exceptions.rs b/crates/typst-library/src/text/font/exceptions.rs index 465ec510..00038c50 100644 --- a/crates/typst-library/src/text/font/exceptions.rs +++ b/crates/typst-library/src/text/font/exceptions.rs @@ -228,6 +228,8 @@ static EXCEPTION_MAP: phf::Map<&'static str, Exception> = phf::phf_map! { .style(FontStyle::Oblique), "NewCMSans10-Regular" => Exception::new() .family("New Computer Modern Sans"), + "NewCMSansMath-Regular" => Exception::new() + .family("New Computer Modern Sans Math"), "NewCMUncial08-Bold" => Exception::new() .family("New Computer Modern Uncial 08"), "NewCMUncial08-Book" => Exception::new() |
