diff --git a/Cargo.lock b/Cargo.lock index 78ab71c59..330dcce5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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" diff --git a/Cargo.toml b/Cargo.toml index cebc2e972..1f6eb5acc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 6393df4b2..465ec510c 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 index 71654916b..fdca56955 100644 Binary files a/tests/ref/math-attach-descender-collision.png and b/tests/ref/math-attach-descender-collision.png differ diff --git a/tests/ref/math-attach-horizontal-align.png b/tests/ref/math-attach-horizontal-align.png index 73f3d1e81..d781967b5 100644 Binary files a/tests/ref/math-attach-horizontal-align.png and b/tests/ref/math-attach-horizontal-align.png differ diff --git a/tests/ref/math-attach-nested.png b/tests/ref/math-attach-nested.png index a62e62eb2..31b796fa2 100644 Binary files a/tests/ref/math-attach-nested.png and b/tests/ref/math-attach-nested.png differ diff --git a/tests/ref/math-attach-postscripts.png b/tests/ref/math-attach-postscripts.png index bd94e4bd7..63097420c 100644 Binary files a/tests/ref/math-attach-postscripts.png and b/tests/ref/math-attach-postscripts.png differ diff --git a/tests/ref/math-equation-numbering.png b/tests/ref/math-equation-numbering.png index 7e8757bd1..b127a9a1d 100644 Binary files a/tests/ref/math-equation-numbering.png and b/tests/ref/math-equation-numbering.png differ diff --git a/tests/ref/math-style-greek-exceptions.png b/tests/ref/math-style-greek-exceptions.png index 93ae6309b..fd61e11d8 100644 Binary files a/tests/ref/math-style-greek-exceptions.png and b/tests/ref/math-style-greek-exceptions.png differ diff --git a/tests/ref/math-underover-line-subscript.png b/tests/ref/math-underover-line-subscript.png index 9a4b886b8..e7d8c26e0 100644 Binary files a/tests/ref/math-underover-line-subscript.png and b/tests/ref/math-underover-line-subscript.png differ