Skip to content
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

colrv1 asset with multi-layers #279

Open
idontveapc opened this issue Dec 2, 2023 · 2 comments
Open

colrv1 asset with multi-layers #279

idontveapc opened this issue Dec 2, 2023 · 2 comments

Comments

@idontveapc
Copy link

idontveapc commented Dec 2, 2023

Describe the bug

A clear and concise description of what the bug is.

i used a colr1(svg) asset that's said to be "heavy" or "has many layers". that looks:
1. https://private-user-images.githubusercontent.com/122597295/287426560-03a88c3c-af89-4b2e-9c5f-02afe6ed29ec.png
2. https://private-user-images.githubusercontent.com/122597295/287426572-65dbcdd3-5b3b-40f2-ae1e-56a0e0d71299.png

To Reproduce

  • Steps to reproduce the behavior:
  1. Go to 'https://github.com/microsoft/fluentui-emoji/tree/main/assets/Melting%20face/Color or https://github.com/microsoft/fluentui-emoji/tree/main/assets/Palm%20tree/Color'
  2. Download or click on the file (to see on the a browser/*chromium)
  3. See error

Expected behavior

A clear and concise description of what you expected to happen.

*chromium example of how it should be showed:

https://private-user-images.githubusercontent.com/122597295/287426620-7b3e6842-fd64-430e-9ac5-0056e8b335d0.png
https://private-user-images.githubusercontent.com/122597295/287426628-7d2f4c71-ca0e-4665-8224-940d39dd1093.png
Stack traces

If an exception is being thrown, please include the exception message and any stacktraces, or other relevant logging.

SVG file

In order to reproduce the bug, we almost certainly need the actual SVG that fails.
You can either include the file as an attachment, or small files may be embedded as a code snippet.
If the file is large, or there are Intellectual Property issues, please reduce the file to a minimal version that reproduces the fault.

use the link(s) given in reproduction steps.

Screenshots

If applicable, add screenshots to help show the actual and/or expected results.

see this comment

Device

If the problem only occurs on some devices, please include the following info.

  • Device(s): [e.g. Google Pixel 3]
  • Android version or API level: [e.g. 8.1 or API 27]

Additional context

Add any other context about the problem here.

this library ("Android SVG") is used by "an android app" on which this issue exist.

@idontveapc
Copy link
Author

idontveapc commented Dec 2, 2023

sorry images links aren't working (because i already created this issue on other repo(s)).

accordingly...
287426560-03a88c3c-af89-4b2e-9c5f-02afe6ed29ec
287426572-65dbcdd3-5b3b-40f2-ae1e-56a0e0d71299

the *chromium ones...
287426620-7b3e6842-fd64-430e-9ac5-0056e8b335d0
287426628-7d2f4c71-ca0e-4665-8224-940d39dd1093

@BigBadaboom
Copy link
Owner

BigBadaboom commented Dec 4, 2023

What both these SVGs have in common is that they use filters.
Currently AndroidSVG does not support filters. I am confident that is the cause of the differences.

Until recently, it wasn't really feasible to support filters, due to the lack of support in the Android API. I think it may be somewhat possible now. But implementing support probably won't happen anytime soon, I'm sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants