From b005dc37e5f7e2f519edc1f607f6ba3ab810ec26 Mon Sep 17 00:00:00 2001 From: A-Walrus <58790821+A-Walrus@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:47:38 +0200 Subject: Fix BiDi bug with mixed explicit dir in paragraph (#3532) Co-authored-by: Laurenz --- tests/typ/layout/par-bidi.typ | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/typ') 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 @@ -47,6 +47,13 @@ Lריווח #h(1cm) R // Test whether L1 whitespace resetting destroys stuff. الغالب #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 -- cgit v1.2.3