summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/columns.typ2
-rw-r--r--tests/typ/layout/container-fill.typ6
-rw-r--r--tests/typ/layout/enum-numbering.typ2
-rw-r--r--tests/typ/layout/flow-orphan.typ2
-rw-r--r--tests/typ/layout/grid-2.typ2
-rw-r--r--tests/typ/layout/par-bidi.typ12
-rw-r--r--tests/typ/layout/par-indent.typ2
-rw-r--r--tests/typ/layout/par-knuth.typ2
-rw-r--r--tests/typ/layout/terms.typ4
-rw-r--r--tests/typ/layout/transform.typ2
10 files changed, 17 insertions, 19 deletions
diff --git a/tests/typ/layout/columns.typ b/tests/typ/layout/columns.typ
index b5dbf96f..eafb0518 100644
--- a/tests/typ/layout/columns.typ
+++ b/tests/typ/layout/columns.typ
@@ -3,7 +3,7 @@
---
// 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 text(lang: "ar", "Noto Sans Arabic", "Linux Libertine")
#set columns(gutter: 30pt)
#box(fill: conifer, height: 8pt, width: 6pt) وتحفيز
diff --git a/tests/typ/layout/container-fill.typ b/tests/typ/layout/container-fill.typ
index 34849d88..f5947e06 100644
--- a/tests/typ/layout/container-fill.typ
+++ b/tests/typ/layout/container-fill.typ
@@ -1,7 +1,7 @@
#set page(height: 100pt)
#let words = lorem(18).split()
#block(inset: 8pt, width: 100%, fill: aqua, stroke: aqua.darken(30%))[
- #words.slice(0, 12).join(" ")
- #box(fill: teal, outset: 2pt)[incididunt]
- #words.slice(12).join(" ")
+ #words.slice(0, 13).join(" ")
+ #box(fill: teal, outset: 2pt)[tempor]
+ #words.slice(13).join(" ")
]
diff --git a/tests/typ/layout/enum-numbering.typ b/tests/typ/layout/enum-numbering.typ
index 1d905f69..ee4b25b9 100644
--- a/tests/typ/layout/enum-numbering.typ
+++ b/tests/typ/layout/enum-numbering.typ
@@ -37,7 +37,7 @@
---
// Test numbering with closure and nested lists.
-#set text("Latin Modern Roman")
+#set text("New Computer Modern")
#set enum(numbering: (..args) => math.mat(args.pos()), full: true)
+ A
+ B
diff --git a/tests/typ/layout/flow-orphan.typ b/tests/typ/layout/flow-orphan.typ
index 482fd145..9c5c2399 100644
--- a/tests/typ/layout/flow-orphan.typ
+++ b/tests/typ/layout/flow-orphan.typ
@@ -8,7 +8,7 @@
This is the start and it goes on.
---
-#set page("a8", height: 150pt)
+#set page("a8", height: 140pt)
#set text(weight: 700)
// Fits fully onto the first page.
diff --git a/tests/typ/layout/grid-2.typ b/tests/typ/layout/grid-2.typ
index 7df64a56..66623878 100644
--- a/tests/typ/layout/grid-2.typ
+++ b/tests/typ/layout/grid-2.typ
@@ -1,7 +1,7 @@
// Test using the `grid` function to create a finance table.
---
-#set page(width: 12cm, height: 2.5cm)
+#set page(width: 11cm, height: 2.5cm)
#grid(
columns: 5,
column-gutter: (2fr, 1fr, 1fr),
diff --git a/tests/typ/layout/par-bidi.typ b/tests/typ/layout/par-bidi.typ
index a7274e8a..aa881a7b 100644
--- a/tests/typ/layout/par-bidi.typ
+++ b/tests/typ/layout/par-bidi.typ
@@ -3,7 +3,6 @@
---
// Test reordering with different top-level paragraph directions.
#let content = par[Text טֶקסט]
-#set text("IBM Plex Serif")
#text(lang: "he", content)
#text(lang: "de", content)
@@ -11,7 +10,7 @@
// Test that consecutive, embedded LTR runs stay LTR.
// Here, we have two runs: "A" and italic "B".
#let content = par[أنت A#emph[B]مطرC]
-#set text("IBM Plex Serif", "Noto Sans Arabic")
+#set text("PT Sans", "Noto Sans Arabic")
#text(lang: "ar", content)
#text(lang: "de", content)
@@ -19,30 +18,29 @@
// Test that consecutive, embedded RTL runs stay RTL.
// Here, we have three runs: "גֶ", bold "שֶׁ", and "ם".
#let content = par[Aגֶ#strong[שֶׁ]םB]
-#set text("IBM Plex Serif", "Noto Serif Hebrew")
+#set text("Linux Libertine", "Noto Serif Hebrew")
#text(lang: "he", content)
#text(lang: "de", content)
---
// Test embedding up to level 4 with isolates.
-#set text(dir: rtl, "IBM Plex Serif")
+#set text(dir: rtl)
א\u{2066}A\u{2067}Bב\u{2069}?
---
// Test hard line break (leads to two paragraphs in unicode-bidi).
-#set text(lang: "ar", "Noto Sans Arabic", "IBM Plex Serif")
+#set text(lang: "ar", "Noto Sans Arabic", "PT Sans")
Life المطر هو الحياة \
الحياة تمطر is rain.
---
// Test spacing.
-#set text("IBM Plex Serif")
L #h(1cm) ריווחR \
Lריווח #h(1cm) R
---
// Test inline object.
-#set text(lang: "he", "IBM Plex Serif")
+#set text(lang: "he")
קרנפיםRh#box(image("/rhino.png", height: 11pt))inoחיים
---
diff --git a/tests/typ/layout/par-indent.typ b/tests/typ/layout/par-indent.typ
index 3e44d73b..8efda42f 100644
--- a/tests/typ/layout/par-indent.typ
+++ b/tests/typ/layout/par-indent.typ
@@ -20,7 +20,7 @@ starts a paragraph without indent.
Except if you have another paragraph in them.
-#set text(8pt, lang: "ar", "Noto Sans Arabic", "IBM Plex Sans")
+#set text(8pt, lang: "ar", "Noto Sans Arabic", "Linux Libertine")
#set par(leading: 8pt)
= Arabic
diff --git a/tests/typ/layout/par-knuth.typ b/tests/typ/layout/par-knuth.typ
index dbe13fc4..0467c9a1 100644
--- a/tests/typ/layout/par-knuth.typ
+++ b/tests/typ/layout/par-knuth.typ
@@ -1,6 +1,6 @@
#set page(width: auto, height: auto)
#set par(leading: 4pt, justify: true)
-#set text(family: "Latin Modern Roman")
+#set text(family: "New Computer Modern")
#let story = [
In olden times when wishing still helped one, there lived a king whose
diff --git a/tests/typ/layout/terms.typ b/tests/typ/layout/terms.typ
index 57864423..6e828094 100644
--- a/tests/typ/layout/terms.typ
+++ b/tests/typ/layout/terms.typ
@@ -25,10 +25,10 @@
---
// Test style change.
#set text(8pt)
-/ First list: #lorem(4)
+/ First list: #lorem(6)
#set terms(hanging-indent: 30pt)
-/ Second list: #lorem(4)
+/ Second list: #lorem(5)
---
// Test grid like show rule.
diff --git a/tests/typ/layout/transform.typ b/tests/typ/layout/transform.typ
index cc744952..de193f72 100644
--- a/tests/typ/layout/transform.typ
+++ b/tests/typ/layout/transform.typ
@@ -23,7 +23,7 @@
[X]
}
-#set text("Latin Modern Roman", size)
+#set text("New Computer Modern", size)
Neither #tex, \
nor #xetex!