Skip to content

iOS 12 Rendering Bug #38

@ryanholden8

Description

@ryanholden8

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:

  1. example-1.svg is not rendering correctly on iOS 12, but is rendering correctly on iOS 11.
  2. 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.svg started rendering correctly on iOS 12 GM. Hurray!
  3. Unfortunately, example-2.svg stopped rendering correctly on iOS 12 & 11. Removing the iOS 12 patch caused it to rendering correctly again.
  4. example-3.svg is a slightly modified version of example-2.svg that 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.
  5. The issue seems related to the CGPathCloseSubpath function, 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions