Lines not using crispEdges show up fuzzy on non-retina screens
See original GitHub issueI’m using a windows machine to develop and I noticed that the lines in vx were fuzzy. I found this explanation, which seems to be correct.
Expand images to see sharpness of bottom axis:
Current
With shape-rendering="crispEdges"
on line
or parent g
Would you be open to adding shape-rendering="crispEdges"
for lines? The only downside to using crispEdges
is that it produces sharp edges even for rounded objects. The Line
and Axis
components currently don’t make rounded shapes, so I think adding it to those will be safe at least.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Blurry text with non retina displays - Apple Support Communities
I need an external monitor since the 15inch MBP is too small for my current needs but the jagged and blurry mess that...
Read more >Displaying older images on web for Retina/high pixel density ...
Looking at my old website on any browser the images appear blurry and dull. But the same images display normally and as expected...
Read more >CSS transition effect makes image blurry / moves image 1px ...
I'm on Chrome 27 on OSX, and it's fine. · Everything fine on Chrome 25 OS X. · And thanks @Paolo - the...
Read more >Dealing with blurry lines - Google Groups
Because SVG is not guaranteed to align with pixels things get blurry unless I add .5 to every ... (This makes a huge...
Read more >We're in an icon-sharpness limbo - simurai
They are still a tiny bit blurry on “non Retina” displays (which are still ... but not on straight lines, there it just...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @hshoff, that will do it, thank you for the quick answer. And thank you for the great work with this library, it’s great to see the progress over the last years 🚀
Hi @jbanulso, for now the work around would be to set
shape-rendering: auto;
on the line. This resets shape-rendering to the default value by overriding the previous value.