You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
When I drag/drop or arrange->insert->image a local SVG image, it is incorrect (outline width is largely modified). This is not only a visual bug as the issue persists when exported as SVG. But there is no problem when importing through File->import
To Reproduce
Steps to reproduce the behavior:
SVG code
<?xmlversion="1.0"encoding="UTF-8"standalone="no" ?>
<!DOCTYPEsvg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svgxmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink"version="1.1"width="1080"height="1080"viewBox="0 0 1080 1080"xml:space="preserve">
<desc>Created with Fabric.js 5.2.4</desc>
<defs>
</defs>
<gtransform="matrix(1 0 0 1 540 540)"id="8105fb04-84e1-45d8-b241-ba14010e002e" >
<rectstyle="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1; visibility: hidden;"vector-effect="non-scaling-stroke"x="-540"y="-540"rx="0"ry="0"width="1080"height="1080" />
</g>
<gtransform="matrix(1 0 0 1 540 540)"id="38be1aed-8d5b-4e03-adaa-144bcdff3f31" >
</g>
<gtransform="matrix(30.74 0 0 30.74 540 540)"id="82cfba6c-236d-4ea4-a061-142d0640fdc4" >
<path style="stroke: rgb(0,0,0); stroke-width: 5; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-opacity: 0; fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-16, -16)" d="M 26.964 0 C 28.839 0 30.348999999999997 1.516 30.438 3.302 L 30.438 32 L 26.869999999999997 28.969 L 24.912 27.188000000000002 L 22.771 25.323000000000004 L 23.662 28.261000000000003 L 4.948 28.261000000000003 C 3.0780000000000003 28.261000000000003 1.5630000000000006 26.844 1.5630000000000006 24.959000000000003 L 1.5630000000000006 3.3080000000000034 C 1.5630000000000006 1.5220000000000034 3.0790000000000006 0.006000000000003336 4.954000000000001 0.006000000000003336 L 26.954 0.006000000000003336 z M 18.807 7.578 L 18.764999999999997 7.578 L 18.493999999999996 7.844 C 21.259999999999998 8.646 22.597999999999995 9.896 22.597999999999995 9.896 C 20.816999999999997 9.005 19.206999999999994 8.557 17.602999999999994 8.375 C 16.446999999999996 8.198 15.284999999999995 8.292 14.305999999999994 8.375 L 14.034999999999993 8.375 C 13.409999999999993 8.375 12.076999999999993 8.646 10.289999999999992 9.359 C 9.669999999999993 9.63 9.310999999999993 9.807 9.310999999999993 9.807 C 9.310999999999993 9.807 10.643999999999993 8.468 13.591999999999992 7.755000000000001 L 13.409999999999991 7.578000000000001 C 13.409999999999991 7.578000000000001 11.18099999999999 7.489000000000001 8.774999999999991 9.271 C 8.774999999999991 9.271 6.368999999999991 13.464 6.368999999999991 18.630000000000003 C 6.368999999999991 18.630000000000003 7.701999999999991 20.948000000000004 11.358999999999991 21.036 C 11.358999999999991 21.036 11.89499999999999 20.328000000000003 12.431999999999992 19.703000000000003 C 10.379999999999992 19.078000000000003 9.577999999999992 17.828000000000003 9.577999999999992 17.828000000000003 C 9.577999999999992 17.828000000000003 9.759999999999993 17.917 10.025999999999993 18.094 L 10.103999999999992 18.094 C 10.145999999999992 18.094 10.166999999999993 18.115000000000002 10.186999999999992 18.136000000000003 L 10.186999999999992 18.146000000000004 C 10.207999999999993 18.167000000000005 10.228999999999992 18.182000000000006 10.264999999999992 18.182000000000006 C 10.707999999999991 18.364000000000004 11.144999999999992 18.541000000000004 11.504999999999992 18.718000000000007 C 12.129999999999992 18.98400000000001 12.926999999999992 19.25400000000001 13.905999999999992 19.432000000000006 C 15.145999999999992 19.614000000000004 16.566999999999993 19.698000000000008 18.18699999999999 19.432000000000006 C 18.98399999999999 19.250000000000007 19.78599999999999 19.078000000000007 20.58799999999999 18.718000000000007 C 21.103999999999992 18.452000000000005 21.74399999999999 18.18700000000001 22.44699999999999 17.73400000000001 C 22.44699999999999 17.73400000000001 21.649999999999988 18.98400000000001 19.50899999999999 19.60900000000001 C 19.94699999999999 20.22900000000001 20.56599999999999 20.942000000000007 20.56599999999999 20.942000000000007 C 24.22699999999999 20.85900000000001 25.648999999999987 18.541000000000007 25.72699999999999 18.640000000000008 C 25.72699999999999 13.479000000000008 23.30499999999999 9.281000000000008 23.30499999999999 9.281000000000008 C 21.12799999999999 7.661000000000008 19.085999999999988 7.599000000000007 18.72699999999999 7.599000000000007 L 18.79999999999999 7.5730000000000075 z M 19.031 13.464 C 19.968999999999998 13.464 20.724 14.261000000000001 20.724 15.24 C 20.724 16.23 19.964 17.026 19.031 17.026 C 18.093 17.026 17.337999999999997 16.229 17.337999999999997 15.25 C 17.337999999999997 14.26 18.098 13.464 19.031 13.464 z M 12.974 13.464 C 13.906 13.464 14.662 14.261000000000001 14.662 15.24 C 14.662 16.23 13.902000000000001 17.026 12.969000000000001 17.026 C 12.031 17.026 11.271 16.229 11.271 15.25 C 11.271 14.26 12.031 13.464 12.969000000000001 13.464 z" stroke-linecap="round" />
</g>
</svg>
Drag/drop or insert through arrange->insert->image
Image is incorrect
Import through file->import
Image is correct
Expected behavior
SVG image should be inserted without issues with the image.
Screenshots
From left: drag and drop, arrange->insert->image, file->import
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 24.7.17
Desktop (please complete the following information):
OS: Windows
The text was updated successfully, but these errors were encountered:
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
When I drag/drop or arrange->insert->image a local SVG image, it is incorrect (outline width is largely modified). This is not only a visual bug as the issue persists when exported as SVG. But there is no problem when importing through File->import
To Reproduce
Steps to reproduce the behavior:
Expected behavior
SVG image should be inserted without issues with the image.
Screenshots
From left: drag and drop, arrange->insert->image, file->import
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: