summaryrefslogtreecommitdiff
path: root/tests/typ/text/shaping.typ
blob: 3a99815bbb4aa0e1f218ff43d529c1fd3004608a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Test shaping quirks.

---
// Test separation by script.
ABCअपार्टमेंट

// This is how it should look like.
अपार्टमेंट

// This (without the spaces) is how it would look
// if we didn't separate by script.
अ पा र् ट में ट

---
// Test that RTL safe-to-break doesn't panic even though newline
// doesn't exist in shaping output.
#set text(dir: rtl, font: "Noto Serif Hebrew")
\ ט