summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/align.typ4
-rw-r--r--tests/typ/layout/columns.typ3
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/typ/layout/align.typ b/tests/typ/layout/align.typ
index f0603b46..753683de 100644
--- a/tests/typ/layout/align.typ
+++ b/tests/typ/layout/align.typ
@@ -25,11 +25,11 @@
// Test start and end alignment.
#rotate(-30deg, origin: end + horizon)[Hello]
-#set par(lang: "de")
+#set text(lang: "de")
#align(start)[Start]
#align(end)[Ende]
-#set par(lang: "ar")
+#set text(lang: "ar")
#align(start)[يبدأ]
#align(end)[نهاية]
diff --git a/tests/typ/layout/columns.typ b/tests/typ/layout/columns.typ
index 0a585868..ce291fb2 100644
--- a/tests/typ/layout/columns.typ
+++ b/tests/typ/layout/columns.typ
@@ -3,9 +3,8 @@
---
// Test normal operation and RTL directions.
#set page(height: 3.25cm, width: 7.05cm, columns: 2)
+#set text(lang: "ar", "Noto Sans Arabic", "IBM Plex Serif")
#set columns(gutter: 30pt)
-#set text("Noto Sans Arabic", "IBM Plex Serif")
-#set par(lang: "ar")
#rect(fill: conifer, height: 8pt, width: 6pt) وتحفيز
العديد من التفاعلات الكيميائية. (DNA) من أهم الأحماض النووية التي تُشكِّل