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

Some svg display exceptions #50

Closed
XMuli opened this issue Feb 8, 2022 · 3 comments
Closed

Some svg display exceptions #50

XMuli opened this issue Feb 8, 2022 · 3 comments

Comments

@XMuli
Copy link
Contributor

XMuli commented Feb 8, 2022

Found an svg image that did not display successfully; But the rest of the svg works fine

env
Pineapple View Version: 0.5.4-0-g00168a3
win10: 21H2

The result that should be displayed is https://upload.wikimedia.org/wikipedia/commons/1/1b/Portable_Executable_32_bit_Structure_in_SVG_fixed.svg
Portable_Executable_32_bit_Structure_in_SVG_fixed

The actual display exception result is
20220208_113726
20220208_113734

@BLumia
Copy link
Owner

BLumia commented Feb 8, 2022

Currently, SVG support is powered by Qt's SVG module, which only supports the static features of SVG 1.2 Tiny standard, and ECMA scripts and DOM manipulation are currently not supported. There might be other drop-in replacements for Qt SVG rendering, not sure about it.

I don't have any plan to provide other SVG standard supports. For complex SVG files please consider using a browser, since it can be crazy to get a "real" proper SVG rendering result, and feel free to find other solutions ;p

@XMuli
Copy link
Contributor Author

XMuli commented Feb 8, 2022

I forgot that qsvg only supports a subset of svg😥

@XMuli XMuli closed this as completed Feb 15, 2022
@BLumia
Copy link
Owner

BLumia commented Mar 16, 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

2 participants