[whatwg] Blurry lines in 2D Canvas (and SVG)

Rik Cabanier cabanier at gmail.com
Tue Jul 23 18:07:52 PDT 2013


yeah, at first blush that seemed what was needed.
However, this simply turns off antialiasing completely so regular artwork
looks terrible.

On Tue, Jul 23, 2013 at 5:31 PM, Brian Birtles <bbirtles at mozilla.com> wrote:

> (2013/07/24 8:19), Rik Cabanier wrote:
>
>> we've noticed that if you draw lines in canvas or SVG, they always end up
>> blurry.
>> For instance see this fiddle: http://jsfiddle.net/V92Gn/128/
>>
>
> As discussed with Rik privately, SVG has shape-rendering: crispEdges for
> this.[1]
>
> [1] http://www.w3.org/TR/SVG11/**painting.html#**ShapeRenderingProperty<http://www.w3.org/TR/SVG11/painting.html#ShapeRenderingProperty>
>



More information about the whatwg mailing list