diff options
| author | bluebear94 <uruwi@protonmail.com> | 2023-07-06 04:11:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-06 10:11:42 +0200 |
| commit | cba200d4eca5846e94733e8b18ee3e69d1d9199c (patch) | |
| tree | d268d702c8ce6a6be0886cefd502a67ee8ec6a0a /tests | |
| parent | c4a1bd005529f3f855ccf8b5dad3e16c43d1b035 (diff) | |
Handle single and alternate substs for single glyphs in math mode (#1592)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/font-features.png | bin | 0 -> 3005 bytes | |||
| -rw-r--r-- | tests/typ/math/font-features.typ | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/math/font-features.png b/tests/ref/math/font-features.png Binary files differnew file mode 100644 index 00000000..1fff3547 --- /dev/null +++ b/tests/ref/math/font-features.png diff --git a/tests/typ/math/font-features.typ b/tests/typ/math/font-features.typ new file mode 100644 index 00000000..ffdd1924 --- /dev/null +++ b/tests/typ/math/font-features.typ @@ -0,0 +1,10 @@ +// Test that setting font features in math.equation has an effect. + +--- +$ nothing $ +$ "hi ∅ hey" $ +$ sum_(i in NN) 1 + i $ +#show math.equation: set text(features: ("cv01",), fallback: false) +$ nothing $ +$ "hi ∅ hey" $ +$ sum_(i in NN) 1 + i $ |
