summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMikołaj <171210953+mgazeel@users.noreply.github.com>2025-05-28 19:29:40 +0200
committerGitHub <noreply@github.com>2025-05-28 17:29:40 +0000
commit3e7a39e968644ee925598f792fdc597b55a2529f (patch)
tree30cd4fea44ba46c53ba0d9b8d832f298735f0dfb /tests
parent82e869023c7a7f31d716e7706a9a176b3d909279 (diff)
Fix stroking of glyphs in math mode (#6243)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-6170-equation-stroke.pngbin0 -> 1381 bytes
-rw-r--r--tests/suite/math/equation.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/issue-6170-equation-stroke.png b/tests/ref/issue-6170-equation-stroke.png
new file mode 100644
index 00000000..a375931b
--- /dev/null
+++ b/tests/ref/issue-6170-equation-stroke.png
Binary files differ
diff --git a/tests/suite/math/equation.typ b/tests/suite/math/equation.typ
index 148a49d0..189f6e6d 100644
--- a/tests/suite/math/equation.typ
+++ b/tests/suite/math/equation.typ
@@ -297,3 +297,10 @@ Looks at the @quadratic formula.
#set page(width: 150pt)
#set text(lang: "he")
תהא סדרה $a_n$: $[a_n: 1, 1/2, 1/3, dots]$
+
+--- issue-6170-equation-stroke ---
+// In this bug stroke settings did not apply to math content.
+// We expect all of these to have a green stroke.
+#set text(stroke: green + 0.5pt)
+
+A $B^2$ $ grave(C)' $