summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/font-features.pngbin0 -> 3005 bytes
-rw-r--r--tests/typ/math/font-features.typ10
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/math/font-features.png b/tests/ref/math/font-features.png
new file mode 100644
index 00000000..1fff3547
--- /dev/null
+++ b/tests/ref/math/font-features.png
Binary files differ
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 $