summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/pattern-text.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/visualize/pattern-text.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/visualize/pattern-text.typ')
-rw-r--r--tests/typ/visualize/pattern-text.typ28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/typ/visualize/pattern-text.typ b/tests/typ/visualize/pattern-text.typ
deleted file mode 100644
index a9fbfb37..00000000
--- a/tests/typ/visualize/pattern-text.typ
+++ /dev/null
@@ -1,28 +0,0 @@
-// Test a pattern on some text
-
----
-// You shouldn't be able to see the text, if you can then
-// that means that the transform matrices are not being
-// applied to the text correctly.
-#let pat = pattern(
- size: (30pt, 30pt),
- relative: "parent",
- square(size: 30pt, fill: gradient.conic(..color.map.rainbow))
-);
-
-#set page(
- width: 140pt,
- height: 140pt,
- fill: pat
-)
-
-#rotate(45deg, scale(x: 50%, y: 70%, rect(
- width: 100%,
- height: 100%,
- stroke: 1pt,
-)[
- #lorem(10)
-
- #set text(fill: pat)
- #lorem(10)
-]))