diff options
Diffstat (limited to 'tests/typ/visualize/pattern-text.typ')
| -rw-r--r-- | tests/typ/visualize/pattern-text.typ | 28 |
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) -])) |
