diff --git a/Cargo.lock b/Cargo.lock index 5406776f3..14a493eb8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2861,7 +2861,7 @@ dependencies = [ [[package]] name = "typst-assets" version = "0.13.1" -source = "git+https://github.com/typst/typst-assets?rev=c1089b4#c1089b46c461bdde579c55caa941a3cc7dec3e8a" +source = "git+https://github.com/typst/typst-assets?rev=edf0d64#edf0d648376e29738a05a933af9ea99bb81557b1" [[package]] name = "typst-cli" diff --git a/Cargo.toml b/Cargo.toml index 272eed1aa..9657f207f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ typst-svg = { path = "crates/typst-svg", version = "0.13.1" } typst-syntax = { path = "crates/typst-syntax", version = "0.13.1" } typst-timing = { path = "crates/typst-timing", version = "0.13.1" } typst-utils = { path = "crates/typst-utils", version = "0.13.1" } -typst-assets = { git = "https://github.com/typst/typst-assets", rev = "c1089b4" } +typst-assets = { git = "https://github.com/typst/typst-assets", rev = "edf0d64" } typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "bfa947f" } arrayvec = "0.7.4" az = "1.2" diff --git a/tests/ref/math-style-script.png b/tests/ref/math-style-script.png new file mode 100644 index 000000000..379d270e7 Binary files /dev/null and b/tests/ref/math-style-script.png differ diff --git a/tests/suite/math/style.typ b/tests/suite/math/style.typ index 2f7d8799e..3ecf856b3 100644 --- a/tests/suite/math/style.typ +++ b/tests/suite/math/style.typ @@ -50,6 +50,13 @@ $bb(Gamma) , bb(gamma), bb(Pi), bb(pi), bb(sum)$ $aleph, beth, gimel, daleth$ \ $upright(aleph), upright(beth), upright(gimel), upright(daleth)$ +--- math-style-script --- +// Test variation selectors for scr and cal. +$cal(A) scr(A) bold(cal(O)) scr(bold(O))$ + +#show math.equation: set text(font: "Noto Sans Math") +$scr(E) cal(E) bold(scr(Y)) cal(bold(Y))$ + --- issue-3650-italic-equation --- _abc $sin(x) "abc"$_ \ $italic(sin(x) "abc" #box[abc])$ \