From 5de36f7b97c237ad0fc4a0b4ccecd7adcb43181b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cruz?= <103905440+Tom4sCruz@users.noreply.github.com> Date: Sat, 6 Apr 2024 12:21:38 +0100 Subject: Deformed stroke for some length values fix (#3860) --- tests/ref/bugs/3700-deformed-stroke.png | Bin 0 -> 144 bytes tests/typ/bugs/3700-deformed-stroke.typ | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/ref/bugs/3700-deformed-stroke.png create mode 100644 tests/typ/bugs/3700-deformed-stroke.typ (limited to 'tests') diff --git a/tests/ref/bugs/3700-deformed-stroke.png b/tests/ref/bugs/3700-deformed-stroke.png new file mode 100644 index 00000000..f1db2836 Binary files /dev/null and b/tests/ref/bugs/3700-deformed-stroke.png differ 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 -- cgit v1.2.3