summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMax <max@mkor.je>2025-06-10 14:44:38 +0000
committerGitHub <noreply@github.com>2025-06-10 14:44:38 +0000
commit44d410dd007569227e8eca41e39fde9a932f0d02 (patch)
tree4270d55c6cdea2024c381aec45ba74997f05f325 /tests
parent7c7b962b98a09c1baabdd03ff4ccad8f6d817b37 (diff)
Use the shaper in math (#6336)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math-accent-dotless-greedy.pngbin0 -> 710 bytes
-rw-r--r--tests/suite/math/accent.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/math-accent-dotless-greedy.png b/tests/ref/math-accent-dotless-greedy.png
new file mode 100644
index 00000000..2c28363a
--- /dev/null
+++ b/tests/ref/math-accent-dotless-greedy.png
Binary files differ
diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ
index 2239d897..0aef41e2 100644
--- a/tests/suite/math/accent.typ
+++ b/tests/suite/math/accent.typ
@@ -51,6 +51,12 @@ $hat(i), hat(i, dotless: #false), accent(j, tilde), accent(j, tilde, dotless: #f
#set math.accent(dotless: false)
$ hat(i) $
+--- math-accent-dotless-greedy ---
+// Currently the dotless style propogates to everything in the accent's base,
+// even though it shouldn't.
+$ arrow(P_(c, i dot j) P_(1, i) j) \
+ arrow(P_(c, i dot j) P_(1, i) j, dotless: #false) $
+
--- math-accent-flattened ---
// Test flattened accent glyph variants.
#show math.equation: set text(font: "STIX Two Math")