summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorA-Walrus <58790821+A-Walrus@users.noreply.github.com>2024-03-04 11:47:38 +0200
committerGitHub <noreply@github.com>2024-03-04 09:47:38 +0000
commitb005dc37e5f7e2f519edc1f607f6ba3ab810ec26 (patch)
treeda5f4b6ce75c6ecaa2bd22df5888bb5b73979b33 /tests
parent879bd1a1cef506514123703f8031a8c203a2c0eb (diff)
Fix BiDi bug with mixed explicit dir in paragraph (#3532)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/par-bidi.pngbin25303 -> 25731 bytes
-rw-r--r--tests/typ/layout/par-bidi.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/layout/par-bidi.png b/tests/ref/layout/par-bidi.png
index 8b626b2a..4750ccb8 100644
--- a/tests/ref/layout/par-bidi.png
+++ b/tests/ref/layout/par-bidi.png
Binary files differ
diff --git a/tests/typ/layout/par-bidi.typ b/tests/typ/layout/par-bidi.typ
index f708df6a..edbd75e1 100644
--- a/tests/typ/layout/par-bidi.typ
+++ b/tests/typ/layout/par-bidi.typ
@@ -48,6 +48,13 @@ Lריווח #h(1cm) R
الغالب #h(70pt) ن#" "ة
---
+// Test explicit dir
+#set text(dir: rtl)
+#text("8:00 - 9:00",dir:ltr) בבוקר
+#linebreak()
+ב #text("12:00 - 13:00",dir:ltr) בצהריים
+
+---
// Test setting a vertical direction.
// Ref: false