-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello! We are upgrading to the iOS 12 SDK and have noticed a few SVGs not rendering correctly. We've tried our best to capture good test data, but please let me know if I can help in someway. Not sure how to fix it.
Attached is a zip file of examples.
Here's what has been discovered so far:
example-1.svgis not rendering correctly on iOS 12, but is rendering correctly on iOS 11.- Saw there was a iOS 12 beta patch that was then removed due to Apple fixing one issue. Testing the waters, we re-applied the patch and
example-1.svgstarted rendering correctly on iOS 12 GM. Hurray! - Unfortunately,
example-2.svgstopped rendering correctly on iOS 12 & 11. Removing the iOS 12 patch caused it to rendering correctly again. example-3.svgis a slightly modified version ofexample-2.svgthat works with and without the iOS 12 patch. Not sure why, but we're hoping the slight difference will reveal some information on a good fix.- The issue seems related to the
CGPathCloseSubpathfunction, as you know. I found this open source implementation of the function here on line 399. It's not Apple's implementation but maybe it's helpful, maybe not.
Thank you so much for your time and attention on this! Again, please let me know if there is anything we can do to help.
Metadata
Metadata
Assignees
Labels
No labels