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

Printerdemo: "Latch" on the left side behind the sidebar icons looks wrong #6715

Open
hunger opened this issue Nov 4, 2024 · 1 comment
Open
Labels
a:platform-wasm browser integration (mO,bT) bug Something isn't working
Milestone

Comments

@hunger
Copy link
Member

hunger commented Nov 4, 2024

The latch on the printerdemo looks wrong in Slintpad (1.8.0 version):

On chrome:

image

In Firefox:

image

Looks to me like the rendering of the SVG is missing/has the wrong size.

@ogoffart ogoffart added bug Something isn't working a:platform-wasm browser integration (mO,bT) labels Nov 4, 2024
@ogoffart ogoffart added this to the 1.9 milestone Nov 4, 2024
@ogoffart
Copy link
Member

ogoffart commented Nov 4, 2024

Note that this can be reproduced in slintpad, but not on the rust-compiled demo.

I believe the difference is that the rust demo uses resvg to render the SVG, while the interpreter uses a <img> tag with a source being the URL of the .svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:platform-wasm browser integration (mO,bT) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants