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

Add <style> element #35

Open
Jean28518 opened this issue Nov 17, 2022 · 0 comments
Open

Add <style> element #35

Jean28518 opened this issue Nov 17, 2022 · 0 comments

Comments

@Jean28518
Copy link

Hey :) First of all, good work!

I have the issue that a specific .svg can't be rendered correctly:

══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════
The following UnimplementedError was thrown in parseSvgElement:
The <style> element is not implemented in this library.

Style elements are not supported by this library and the requested SVG may not render as intended.
If possible, ensure the SVG uses inline styles and/or attributes (which are supported), or use a
preprocessing utility such as svgcleaner to inline the styles for you.

Picture key: /usr/share/icons/hicolor/scalable/apps/thunderbird.svg
════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: unhandled element filter; Picture key: /usr/share/icons/hicolor/scalable/apps/thunderbird.svg

The rendered output:
image

The file to render:
thunderbird

So my proposal would be, to add the implementation for the <style> element.

@Jean28518 Jean28518 changed the title Add <style> element. Add <style> element Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant