diff options
| author | +merlan #flirora <uruwi@protonmail.com> | 2024-08-05 15:19:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 19:19:56 +0000 |
| commit | 6856d5e672d68d8ac82d327da774985327433a4f (patch) | |
| tree | f153d492566c71016660ce03a0a3eaf79919d26c /tests/suite | |
| parent | 18ce3f111d66622a52bf5b0c58b3e1da3c646603 (diff) | |
Support multiple stylistic sets in text (#4685)
Diffstat (limited to 'tests/suite')
| -rw-r--r-- | tests/suite/layout/inline/text.typ | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/suite/layout/inline/text.typ b/tests/suite/layout/inline/text.typ index ba0e625e..369aba7f 100644 --- a/tests/suite/layout/inline/text.typ +++ b/tests/suite/layout/inline/text.typ @@ -9,7 +9,8 @@ // Test alternates and stylistic sets. #set text(font: "IBM Plex Serif") a vs #text(alternates: true)[a] \ -ß vs #text(stylistic-set: 5)[ß] +ß vs #text(stylistic-set: 5)[ß] \ +10 years ago vs #text(stylistic-set: (1, 2, 3))[10 years ago] --- text-ligatures --- // Test text turning off (standard) ligatures of the font. @@ -43,7 +44,7 @@ waltz vs #text(discretionary-ligatures: true)[waltz] fi vs. #text(features: (liga: 0))[No fi] --- text-stylistic-set-bad-type --- -// Error: 26-31 expected integer or none, found boolean +// Error: 26-31 expected none, integer, or array, found boolean #set text(stylistic-set: false) --- text-stylistic-set-out-of-bounds --- |
