-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
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
Wrong coloring on iOS with Impeller #225
Comments
Can you share the SVGs that fail to render correctly, as well as the exact code you're using to do the rendering? Can you also share whether this reproduces on simulator only or on physical device as well? Simulators have some different rendering characteristics and sometimes the Metal emulation doesn't really work quite correctly (as in, it works more like Metal on desktop than Metal on iOS, but also not quite like Metal on desktop). |
I tried on both simulator and physical device and the result is the same. Here is the SVG I used: Details
For the code, we can simplify by using the package's example svg_string.dart and only replacing the content of the _flutterLogoString with the svg code. |
Great, thanks! This is a bug in Impeller's path rendering code. |
You're welcome ! Ok, should I post an issue somewhere else then ? |
First of all, I'd like to thank you for your work on this package !
I have some SVGs which are rendered differently when Impeller is running on iOS.
Here are the screenshots:
SVG without Impeller and opacity to 1
SVG with Impeller and opacity to 1
SVG with Impeller and opacity to 0.6
Unfortunately my knowledge of SVGs is limited, so I can't help you much. There seems to be a problem with the coloring of some shapes, which are colored when they shouldn't be. I can't share the SVG code, so please let me know if I can help with more information.
The text was updated successfully, but these errors were encountered: