diff options
| author | Max <me@mkor.je> | 2024-11-26 12:36:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 12:36:53 +0000 |
| commit | 6d35972c3d2caaea3d6e358f6af121ba37881dbb (patch) | |
| tree | e8f31a822d52653807df9c76112286a44d1fe3f2 | |
| parent | 580e6811b0281f19fa9c3e438500a9e8bb9b95ef (diff) | |
Update NewCM fonts to version 7.0.0 (#5465)
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/text/font/exceptions.rs | 3 | ||||
| -rw-r--r-- | tests/ref/math-attach-descender-collision.png | bin | 739 -> 737 bytes | |||
| -rw-r--r-- | tests/ref/math-attach-horizontal-align.png | bin | 1898 -> 1899 bytes | |||
| -rw-r--r-- | tests/ref/math-attach-nested.png | bin | 979 -> 981 bytes | |||
| -rw-r--r-- | tests/ref/math-attach-postscripts.png | bin | 497 -> 496 bytes | |||
| -rw-r--r-- | tests/ref/math-equation-numbering.png | bin | 4684 -> 4699 bytes | |||
| -rw-r--r-- | tests/ref/math-style-greek-exceptions.png | bin | 301 -> 315 bytes | |||
| -rw-r--r-- | tests/ref/math-underover-line-subscript.png | bin | 1541 -> 1540 bytes |
10 files changed, 3 insertions, 4 deletions
@@ -2677,7 +2677,7 @@ dependencies = [ [[package]] name = "typst-assets" version = "0.12.0" -source = "git+https://github.com/typst/typst-assets?rev=5c0dcc0#5c0dcc062eddd9c1b1a8994fe4948ab604a1690f" +source = "git+https://github.com/typst/typst-assets?rev=8cccef9#8cccef93b5da73a1c80389722cf2b655b624f577" [[package]] name = "typst-cli" @@ -31,7 +31,7 @@ typst-svg = { path = "crates/typst-svg", version = "0.12.0" } typst-syntax = { path = "crates/typst-syntax", version = "0.12.0" } typst-timing = { path = "crates/typst-timing", version = "0.12.0" } typst-utils = { path = "crates/typst-utils", version = "0.12.0" } -typst-assets = { git = "https://github.com/typst/typst-assets", rev = "5c0dcc0" } +typst-assets = { git = "https://github.com/typst/typst-assets", rev = "8cccef9" } typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "b07d156" } arrayvec = "0.7.4" az = "1.2" diff --git a/crates/typst-library/src/text/font/exceptions.rs b/crates/typst-library/src/text/font/exceptions.rs index 6393df4b..465ec510 100644 --- a/crates/typst-library/src/text/font/exceptions.rs +++ b/crates/typst-library/src/text/font/exceptions.rs @@ -182,8 +182,7 @@ static EXCEPTION_MAP: phf::Map<&'static str, Exception> = phf::phf_map! { "NewCM10-Regular" => Exception::new() .family("New Computer Modern"), "NewCMMath-Bold" => Exception::new() - .family("New Computer Modern Math") - .weight(700), + .family("New Computer Modern Math"), "NewCMMath-Book" => Exception::new() .family("New Computer Modern Math") .weight(450), diff --git a/tests/ref/math-attach-descender-collision.png b/tests/ref/math-attach-descender-collision.png Binary files differindex 71654916..fdca5695 100644 --- a/tests/ref/math-attach-descender-collision.png +++ b/tests/ref/math-attach-descender-collision.png diff --git a/tests/ref/math-attach-horizontal-align.png b/tests/ref/math-attach-horizontal-align.png Binary files differindex 73f3d1e8..d781967b 100644 --- a/tests/ref/math-attach-horizontal-align.png +++ b/tests/ref/math-attach-horizontal-align.png diff --git a/tests/ref/math-attach-nested.png b/tests/ref/math-attach-nested.png Binary files differindex a62e62eb..31b796fa 100644 --- a/tests/ref/math-attach-nested.png +++ b/tests/ref/math-attach-nested.png diff --git a/tests/ref/math-attach-postscripts.png b/tests/ref/math-attach-postscripts.png Binary files differindex bd94e4bd..63097420 100644 --- a/tests/ref/math-attach-postscripts.png +++ b/tests/ref/math-attach-postscripts.png diff --git a/tests/ref/math-equation-numbering.png b/tests/ref/math-equation-numbering.png Binary files differindex 7e8757bd..b127a9a1 100644 --- a/tests/ref/math-equation-numbering.png +++ b/tests/ref/math-equation-numbering.png diff --git a/tests/ref/math-style-greek-exceptions.png b/tests/ref/math-style-greek-exceptions.png Binary files differindex 93ae6309..fd61e11d 100644 --- a/tests/ref/math-style-greek-exceptions.png +++ b/tests/ref/math-style-greek-exceptions.png diff --git a/tests/ref/math-underover-line-subscript.png b/tests/ref/math-underover-line-subscript.png Binary files differindex 9a4b886b..e7d8c26e 100644 --- a/tests/ref/math-underover-line-subscript.png +++ b/tests/ref/math-underover-line-subscript.png |
