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/lang.typ | |
| parent | f39bfa476222aa92a590d65f7c2d58612f24eef2 (diff) | |
Support OpenType writing script (#1697)
Diffstat (limited to 'tests/typ/text/lang.typ')
| -rw-r--r-- | tests/typ/text/lang.typ | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/typ/text/lang.typ b/tests/typ/text/lang.typ index a70b4d63..7f1ae1fc 100644 --- a/tests/typ/text/lang.typ +++ b/tests/typ/text/lang.typ @@ -23,6 +23,26 @@ #text(lang: "sr")[Бб] --- +// Verify that writing script/language combination has an effect +#{ + set text(size:20pt) + set text(script: "latn", lang: "en") + [Ş ] + set text(script: "latn", lang: "ro") + [Ş ] + set text(script: "grek", lang: "ro") + [Ş ] +} + +--- +// Error: 19-23 expected string or auto, found none +#set text(script: none) + +--- +// Error: 19-23 expected three or four letter script code (ISO 15924 or 'math') +#set text(script: "ab") + +--- // Error: 17-21 expected string, found none #set text(lang: none) |
