summaryrefslogtreecommitdiff
path: root/tests/typ/bugs/gradient-cmyk-encode.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/bugs/gradient-cmyk-encode.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/bugs/gradient-cmyk-encode.typ')
-rw-r--r--tests/typ/bugs/gradient-cmyk-encode.typ27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/typ/bugs/gradient-cmyk-encode.typ b/tests/typ/bugs/gradient-cmyk-encode.typ
deleted file mode 100644
index 5e0b58dc..00000000
--- a/tests/typ/bugs/gradient-cmyk-encode.typ
+++ /dev/null
@@ -1,27 +0,0 @@
-// Test that CMYK works on gradients
-
----
-#set page(margin: 0pt, width: 200pt, height: auto)
-
-#let violet = cmyk(75%, 80%, 0%, 0%)
-#let blue = cmyk(75%, 30%, 0%, 0%)
-
-#rect(
- width: 100%,
- height: 30pt,
- fill: gradient.linear(violet, blue)
-)
-
-#rect(
- width: 100%,
- height: 30pt,
- fill: gradient.linear(rgb(violet), rgb(blue))
-)
-
-// In PDF format, this gradient can look different from the others.
-// This is because PDF readers do weird things with CMYK.
-#rect(
- width: 100%,
- height: 30pt,
- fill: gradient.linear(violet, blue, space: cmyk)
-)