From 74b1b109865f5a8c141bbc711de6960844b8949d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 27 Jun 2025 10:35:05 +0000 Subject: Bump `typst-dev-assets` (#6514) --- tests/suite/layout/align.typ | 2 +- tests/suite/layout/inline/bidi.typ | 3 ++- tests/suite/layout/inline/shaping.typ | 1 + tests/suite/layout/inline/text.typ | 2 +- tests/suite/layout/repeat.typ | 4 ++-- tests/suite/model/cite.typ | 1 + tests/suite/model/par.typ | 2 +- tests/suite/model/quote.typ | 2 ++ tests/suite/syntax/numbers.typ | 1 + 9 files changed, 12 insertions(+), 6 deletions(-) (limited to 'tests') 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() #cite(). --- 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 \ -- cgit v1.2.3