summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--tests/suite/layout/align.typ2
-rw-r--r--tests/suite/layout/inline/bidi.typ3
-rw-r--r--tests/suite/layout/inline/shaping.typ1
-rw-r--r--tests/suite/layout/inline/text.typ2
-rw-r--r--tests/suite/layout/repeat.typ4
-rw-r--r--tests/suite/model/cite.typ1
-rw-r--r--tests/suite/model/par.typ2
-rw-r--r--tests/suite/model/quote.typ2
-rw-r--r--tests/suite/syntax/numbers.typ1
11 files changed, 14 insertions, 8 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 91ff4843..550c4141 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2911,7 +2911,7 @@ dependencies = [
[[package]]
name = "typst-dev-assets"
version = "0.13.1"
-source = "git+https://github.com/typst/typst-dev-assets?rev=fddbf8b#fddbf8b99506bc370ac0edcd4959add603a7fc92"
+source = "git+https://github.com/typst/typst-dev-assets?rev=bfa947f#bfa947f3433d7d13a995168c40ae788a2ebfe648"
[[package]]
name = "typst-docs"
diff --git a/Cargo.toml b/Cargo.toml
index 76d83995..6cc59ee8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -33,7 +33,7 @@ typst-syntax = { path = "crates/typst-syntax", version = "0.13.1" }
typst-timing = { path = "crates/typst-timing", version = "0.13.1" }
typst-utils = { path = "crates/typst-utils", version = "0.13.1" }
typst-assets = { git = "https://github.com/typst/typst-assets", rev = "c1089b4" }
-typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "fddbf8b" }
+typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "bfa947f" }
arrayvec = "0.7.4"
az = "1.2"
base64 = "0.22"
diff --git a/tests/suite/layout/align.typ b/tests/suite/layout/align.typ
index c4ed9ab9..1c1a0868 100644
--- a/tests/suite/layout/align.typ
+++ b/tests/suite/layout/align.typ
@@ -34,7 +34,7 @@ To the right! Where the sunlight peeks behind the mountain.
#align(start)[Start]
#align(end)[Ende]
-#set text(lang: "ar")
+#set text(lang: "ar", font: "Noto Sans Arabic")
#align(start)[يبدأ]
#align(end)[نهاية]
diff --git a/tests/suite/layout/inline/bidi.typ b/tests/suite/layout/inline/bidi.typ
index 5f8712d5..d7601fa1 100644
--- a/tests/suite/layout/inline/bidi.typ
+++ b/tests/suite/layout/inline/bidi.typ
@@ -45,6 +45,7 @@ Lריווח #h(1cm) R
--- bidi-whitespace-reset ---
// Test whether L1 whitespace resetting destroys stuff.
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
الغالب #h(70pt) ن#" "ة
--- bidi-explicit-dir ---
@@ -87,7 +88,7 @@ Lריווח #h(1cm) R
columns: (1fr, 1fr),
lines(6),
[
- #text(lang: "ar")[مجرد نص مؤقت لأغراض العرض التوضيحي. ]
+ #text(lang: "ar", font: ("Libertinus Serif", "Noto Sans Arabic"))[مجرد نص مؤقت لأغراض العرض التوضيحي. ]
#text(lang: "ar")[سلام]
],
)
diff --git a/tests/suite/layout/inline/shaping.typ b/tests/suite/layout/inline/shaping.typ
index dc73100b..4dfc6eb1 100644
--- a/tests/suite/layout/inline/shaping.typ
+++ b/tests/suite/layout/inline/shaping.typ
@@ -29,6 +29,7 @@ ABCअपार्टमेंट
\ ט
--- shaping-font-fallback ---
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
// Font fallback for emoji.
A😀B
diff --git a/tests/suite/layout/inline/text.typ b/tests/suite/layout/inline/text.typ
index 369aba7f..a211ffd3 100644
--- a/tests/suite/layout/inline/text.typ
+++ b/tests/suite/layout/inline/text.typ
@@ -80,7 +80,7 @@ I'm in#text(tracking: 0.15em + 1.5pt)[ spaace]!
--- text-tracking-arabic ---
// Test tracking in arabic text (makes no sense whatsoever)
-#set text(tracking: 0.3em)
+#set text(tracking: 0.3em, font: "Noto Sans Arabic")
النص
--- text-spacing ---
diff --git a/tests/suite/layout/repeat.typ b/tests/suite/layout/repeat.typ
index a46bf6d2..8ba5d266 100644
--- a/tests/suite/layout/repeat.typ
+++ b/tests/suite/layout/repeat.typ
@@ -17,7 +17,7 @@
--- repeat-dots-rtl ---
// Test dots with RTL.
-#set text(lang: "ar")
+#set text(lang: "ar", font: ("Libertinus Serif", "Noto Sans Arabic"))
مقدمة #box(width: 1fr, repeat[.]) 15
--- repeat-empty ---
@@ -35,7 +35,7 @@ A#box(width: 1fr, repeat(rect(width: 6em, height: 0.7em)))B
#set align(center)
A#box(width: 1fr, repeat(rect(width: 6em, height: 0.7em)))B
-#set text(dir: rtl)
+#set text(dir: rtl, font: "Noto Sans Arabic")
ريجين#box(width: 1fr, repeat(rect(width: 4em, height: 0.7em)))سون
--- repeat-unrestricted ---
diff --git a/tests/suite/model/cite.typ b/tests/suite/model/cite.typ
index 1a79b690..363b5848 100644
--- a/tests/suite/model/cite.typ
+++ b/tests/suite/model/cite.typ
@@ -151,6 +151,7 @@ B #cite(<netwok>) #cite(<arrgh>).
--- issue-5775-cite-order-rtl ---
// Test citation order in RTL text.
#set page(width: 300pt)
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
@netwok
aaa
این است
diff --git a/tests/suite/model/par.typ b/tests/suite/model/par.typ
index d2c3416e..fae0e1f5 100644
--- a/tests/suite/model/par.typ
+++ b/tests/suite/model/par.typ
@@ -231,7 +231,7 @@ Welcome \ here. Does this work well?
--- par-hanging-indent-rtl ---
#set par(hanging-indent: 2em)
-#set text(dir: rtl)
+#set text(dir: rtl, font: ("Libertinus Serif", "Noto Sans Arabic"))
لآن وقد أظلم الليل وبدأت النجوم
تنضخ وجه الطبيعة التي أعْيَتْ من طول ما انبعثت في النهار
diff --git a/tests/suite/model/quote.typ b/tests/suite/model/quote.typ
index 4137262a..1c595442 100644
--- a/tests/suite/model/quote.typ
+++ b/tests/suite/model/quote.typ
@@ -2,6 +2,7 @@
--- quote-dir-author-pos ---
// Text direction affects author positioning
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
#set text(lang: "ar")
@@ -9,6 +10,7 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
--- quote-dir-align ---
// Text direction affects block alignment
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
#set quote(block: true)
#quote(attribution: [René Descartes])[cogito, ergo sum]
diff --git a/tests/suite/syntax/numbers.typ b/tests/suite/syntax/numbers.typ
index 1f15ac72..d7e6da4d 100644
--- a/tests/suite/syntax/numbers.typ
+++ b/tests/suite/syntax/numbers.typ
@@ -2,6 +2,7 @@
--- numbers ---
// Test numbers in text mode.
+#set text(font: ("Libertinus Serif", "Noto Sans Arabic"))
12 \
12.0 \
3.14 \