diff options
| author | Tomás Cruz <103905440+Tom4sCruz@users.noreply.github.com> | 2024-04-06 12:21:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-05-17 14:27:59 +0200 |
| commit | cc46267be3a36b2ad694be01f6d4611d14882d87 (patch) | |
| tree | b560f509b438817be85c5af155df503ffa9931c2 /tests | |
| parent | e5f79c8ef9511ca578a99fa8e6a75d65a4f8b000 (diff) | |
Deformed stroke for some length values fix (#3860)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/3700-deformed-stroke.png | bin | 0 -> 144 bytes | |||
| -rw-r--r-- | tests/typ/bugs/3700-deformed-stroke.typ | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/bugs/3700-deformed-stroke.png b/tests/ref/bugs/3700-deformed-stroke.png Binary files differnew file mode 100644 index 00000000..f1db2836 --- /dev/null +++ b/tests/ref/bugs/3700-deformed-stroke.png diff --git a/tests/typ/bugs/3700-deformed-stroke.typ b/tests/typ/bugs/3700-deformed-stroke.typ new file mode 100644 index 00000000..7ca6ba6b --- /dev/null +++ b/tests/typ/bugs/3700-deformed-stroke.typ @@ -0,0 +1,11 @@ +// Test shape fill & stroke for specific values that used to make the stroke +// deformed. +// https://github.com/typst/typst/issues/3700 + +--- +#rect( + radius: 1mm, + width: 100%, + height: 10pt, + stroke: (left: rgb("46b3c2") + 16.0mm), +)
\ No newline at end of file |
