diff options
| author | damaxwell <damaxwell@alaska.edu> | 2023-07-19 02:25:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-19 12:25:24 +0200 |
| commit | 8a57395ee48ecee02c2eb833d232979730f0e445 (patch) | |
| tree | 7a66d64f2f4b8afd509db0a89d5bf25a2ab1c72b /tests/typ/text/shaping.typ | |
| parent | f39bfa476222aa92a590d65f7c2d58612f24eef2 (diff) | |
Support OpenType writing script (#1697)
Diffstat (limited to 'tests/typ/text/shaping.typ')
| -rw-r--r-- | tests/typ/text/shaping.typ | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/text/shaping.typ b/tests/typ/text/shaping.typ index 3a99815b..3a8d5411 100644 --- a/tests/typ/text/shaping.typ +++ b/tests/typ/text/shaping.typ @@ -12,6 +12,16 @@ ABCअपार्टमेंट अ पा र् ट में ट --- +// A forced `latn` script inhibits Devanagari font features. +#set text(script: "latn") +ABCअपार्टमेंट + +--- +// A forced `deva` script enables Devanagari font features. +#set text(script: "deva") +ABCअपार्टमेंट + +--- // 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") |
