-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingcrashThe Typst compiler crashes for some inputThe Typst compiler crashes for some inputpngRelated to PNG export.Related to PNG export.
Description
Description
#rect(
fill: gradient.linear(
(red, 0%),
(green, 0%),
(blue, 100%),
)
)panics with
thread 'main' panicked at crates\typst-render\src\paint.rs:260:10:
components must always be in the range [0..=1]
when exporting to PNG. The panic does not occur when exporting to SVG or PDF.
Reproduction URL
No response
Operating system
No response
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcrashThe Typst compiler crashes for some inputThe Typst compiler crashes for some inputpngRelated to PNG export.Related to PNG export.