diegomura / diegomura/react-pdf
SVG Rounded Rectangle
Open
new feature
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
The following svg won`t render with rounded corners in react-pdf:
https://upload.wikimedia.org/wikipedia/commons/e/e8/Svg_example3.svg
```
```
React-pdf supports rounded rectangles, as you can see in official example: https://react-pdf.org/repl?example=rect
However it seems svg-interpreter derive a missing ry from rx value, probably same other way arround.
I did not look into the code, but maybe it is possible to implement it like ` rx = rx ?? ry ?? 0`
Contributor guide
Assessment
This issue has not been assessed yet.