We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SvgElement provides incorrect bounds if one path has 0 length
The bounds for the group in the following SVG is incorrect. The path with 0 length should be ignored when it comes to bounds.
<svg xmlns="http://www.w3.org/2000/svg" width="1056" height="816" viewBox="0 0 792 612"> <clipPath id="a"><path transform="matrix(1 0 0 -1 0 612)" d="M-396-306V918h1584V-306z"/></clipPath> <g clip-path="url(#a)"> <path stroke-width="1.08" stroke-linecap="round" stroke-linejoin="round" fill="none" stroke="#000" d="M50 50 h100"/> <path stroke-width="1.08" stroke-linecap="round" stroke-linejoin="round" fill="none" stroke="#000" d="M50 100 h0"/> </g> </svg>
SVG: 3.4.7 .Net Framework: 4.8.1 Operating system: Windows 11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
SvgElement provides incorrect bounds if one path has 0 length
Example data
The bounds for the group in the following SVG is incorrect. The path with 0 length should be ignored when it comes to bounds.
Used Versions
SVG: 3.4.7
.Net Framework: 4.8.1
Operating system: Windows 11
The text was updated successfully, but these errors were encountered: