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

Canvas drawing is blurry (on macOS Safari) #9

Open
kud1ing opened this issue Feb 28, 2023 · 3 comments · May be fixed by #12
Open

Canvas drawing is blurry (on macOS Safari) #9

kud1ing opened this issue Feb 28, 2023 · 3 comments · May be fixed by #12

Comments

@kud1ing
Copy link

kud1ing commented Feb 28, 2023

Bildschirm­foto 2023-02-28 um 13 16 48

@sharkdp
Copy link
Owner

sharkdp commented Feb 28, 2023

I vaguely remember that retina displays require some special CSS property on the canvas in order for it to look good. Maybe it's as simple as that. Any help would be appreciated. I don't have a Mac.

@kud1ing
Copy link
Author

kud1ing commented Mar 10, 2023

I've assembled a Rust example, that works for me (see the block "Avoid canvas blur"): https://github.com/kud1ing/Snippets/blob/master/rust_webassembly_canvas/src/main.rs

@kud1ing
Copy link
Author

kud1ing commented Mar 10, 2023

Bildschirm­foto 2023-03-10 um 11 33 23

@sharkdp sharkdp linked a pull request Jul 10, 2024 that will close this issue
32 tasks
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

Successfully merging a pull request may close this issue.

2 participants