diff options
| author | Tomás Cruz <103905440+Tom4sCruz@users.noreply.github.com> | 2024-04-06 12:21:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-06 11:21:38 +0000 |
| commit | 5de36f7b97c237ad0fc4a0b4ccecd7adcb43181b (patch) | |
| tree | e4466d2ec0949ea9e2d44580942b2f0deb48003f /tests | |
| parent | 3d4de954aaeb072a1df2bedf7f93785b3498bc69 (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 |
