After the version 2.7.3 update, SVG parsing loses details。
CodeForRabbit opened this issue · 6 comments
I lost some SVG details when I updated the 2.7.3 version, See the code after sure is https://github.com/pocketsvg/PocketSVG/commit/42078d1040cb35b45d9af167ad3aa88d8e69e4f2 the problems after the commit, I deleted this update and everything worked fine.
In addition, I found in use that the framework does not support some tags. Such as:
<defs> </defs>
The contents wrapped in these labels cannot be interpreted,
Will these tags be supported in the future?
Other SVG Settings include: fill-rule
If no difference is made, the filling effect will be different. The corresponding CALayer also has the fillRule attribute, hoping to add compatibility.
Hello @CodeForRabbit
sorry for the delay.
It looks like the only change after that commit was your PR:
42078d1...master
This should only have affected colours. What other information is missing?
I want to error from 42078d1 to submit the while loop line 542 from the beginning.
You can test the butterfly svg in my attachment, parsing it will lose some details.
What's the error you're referring to?