diff options
| author | Peng Guanwen <pg999w@outlook.com> | 2023-05-30 23:53:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 17:53:10 +0200 |
| commit | e2bf2327b53a6b963f7adaeb655fefc1d5fac745 (patch) | |
| tree | 10c3ce9393b256670e987ea5d02d2f88dd602823 /tests/typ | |
| parent | 11714609b8eb1e2939dfd86923e7b7203879228b (diff) | |
Use icu4x for linebreaking algorithm (#1355)
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/layout/par-justify-cjk.typ | 2 | ||||
| -rw-r--r-- | tests/typ/text/linebreak.typ | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/typ/layout/par-justify-cjk.typ b/tests/typ/layout/par-justify-cjk.typ index 04b328a7..41b3e729 100644 --- a/tests/typ/layout/par-justify-cjk.typ +++ b/tests/typ/layout/par-justify-cjk.typ @@ -43,7 +43,7 @@ #set text(font: "Noto Serif CJK SC", lang: "zh") #set par(justify: true) -孔雀最早见于《山海经》中的《海内经》:\u{200b}“有孔雀。”东汉杨孚著《异物志》记载,岭南:“孔雀,其大如大雁而足高,毛皆有斑纹彩,捕而蓄之,拍手即舞。” +孔雀最早见于《山海经》中的《海内经》:“有孔雀。”东汉杨孚著《异物志》记载,岭南:“孔雀,其大如大雁而足高,毛皆有斑纹彩,捕而蓄之,拍手即舞。” #set text(font: "Noto Serif CJK TC", lang: "zh", region: "hk") 孔雀最早见于《山海经》中的《海内经》:「有孔雀。」东汉杨孚著《异物志》记载,岭南:「孔雀,其大如大雁而足高,毛皆有斑纹彩,捕而蓄之,拍手即舞。」 diff --git a/tests/typ/text/linebreak.typ b/tests/typ/text/linebreak.typ index c926789a..7e409a80 100644 --- a/tests/typ/text/linebreak.typ +++ b/tests/typ/text/linebreak.typ @@ -43,3 +43,9 @@ Second part // Test comments at the end of a line with pre-spacing First part // Second part + +--- +// Test linebreak for East Asian languages +ทีวีตรวจทานนอร์ทแฟรีเลคเชอร์โกลด์อัลบัมเชอร์รี่เย้วสโตร์กฤษณ์เคลมเยอบีร่าพ่อค้าบลูเบอร์รี่สหัสวรรษโฮปแคนูโยโย่จูนสตรอว์เบอร์รีซื่อบื้อเยนแบ็กโฮเป็นไงโดนัททอมสเตริโอแคนูวิทย์แดรี่โดนัทวิทย์แอปพริคอทเซอร์ไพรส์ไฮบริดกิฟท์อินเตอร์โซนเซอร์วิสเทียมทานโคโยตี้ม็อบเที่ยงคืนบุญคุณ + + |
