From 7e072e24930d8a7524f700b62cabd97ceb4f45e6 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 17 Apr 2025 14:10:27 +0000 Subject: Add test for flattened accents in math (#6188) --- tests/ref/math-accent-flattened.png | Bin 0 -> 464 bytes tests/suite/math/accent.typ | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/ref/math-accent-flattened.png diff --git a/tests/ref/math-accent-flattened.png b/tests/ref/math-accent-flattened.png new file mode 100644 index 00000000..f7764cb7 Binary files /dev/null and b/tests/ref/math-accent-flattened.png differ diff --git a/tests/suite/math/accent.typ b/tests/suite/math/accent.typ index ab0078a5..ecc0588c 100644 --- a/tests/suite/math/accent.typ +++ b/tests/suite/math/accent.typ @@ -50,3 +50,11 @@ $hat(i), hat(i, dotless: #false), accent(j, tilde), accent(j, tilde, dotless: #f --- math-accent-dotless-set-rule --- #set math.accent(dotless: false) $ hat(i) $ + +--- math-accent-flattened --- +// Test flattened accent glyph variants. +#show math.equation: set text(font: "STIX Two Math") +$hat(a) hat(A)$ +$tilde(w) tilde(W)$ +$grave(i) grave(j)$ +$grave(I) grave(J)$ -- cgit v1.2.3