diff --git a/Cargo.lock b/Cargo.lock index 48a96ac5b..5117ab63d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2595,7 +2595,7 @@ dependencies = [ [[package]] name = "typst-assets" version = "0.10.0" -source = "git+https://github.com/typst/typst-assets?rev=79e1c84#79e1c84788fb23f34755b8ebb300dcd9bc4af77f" +source = "git+https://github.com/typst/typst-assets?rev=4d1211a#4d1211ab5ba8a02992a7362000e6dd422d44dd68" [[package]] name = "typst-cli" diff --git a/Cargo.toml b/Cargo.toml index 178dd14b5..5da58be23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ typst-render = { path = "crates/typst-render" } typst-svg = { path = "crates/typst-svg" } typst-syntax = { path = "crates/typst-syntax" } typst-timing = { path = "crates/typst-timing" } -typst-assets = { git = "https://github.com/typst/typst-assets", rev = "79e1c84" } +typst-assets = { git = "https://github.com/typst/typst-assets", rev = "4d1211a" } typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "c63ab46" } az = "1.2" base64 = "0.22" diff --git a/tests/ref/bugs/3082-chinese-punctuation.png b/tests/ref/bugs/3082-chinese-punctuation.png new file mode 100644 index 000000000..c187d4955 Binary files /dev/null and b/tests/ref/bugs/3082-chinese-punctuation.png differ diff --git a/tests/typ/bugs/3082-chinese-punctuation.typ b/tests/typ/bugs/3082-chinese-punctuation.typ new file mode 100644 index 000000000..82cab6f61 --- /dev/null +++ b/tests/typ/bugs/3082-chinese-punctuation.typ @@ -0,0 +1,4 @@ +#set text(font: "Noto Serif CJK TC", lang: "zh") +#set page(width: 230pt) + +課有手冬,朱得過已誰卜服見以大您即乙太邊良,因且行肉因和拉幸,念姐遠米巴急(abc0),松黃貫誰。