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

Brian Birtles bbirtles at mozilla.com
Tue Jul 23 18:11:56 PDT 2013


(2013/07/24 10:07), Rik Cabanier wrote:
> yeah, at first blush that seemed what was needed.
> However, this simply turns off antialiasing completely so regular
> artwork looks terrible.

That's a quality of implementation issue. The description of the 
property value says,

"Indicates that the user agent shall attempt to emphasize the contrast 
between clean edges of artwork over rendering speed and geometric 
precision. To achieve crisp edges, the user agent might turn off 
anti-aliasing for all lines and curves or possibly just for straight 
lines which are close to vertical or horizontal. Also, the user agent 
might adjust line positions and line widths to align edges with device 
pixels."

I'm not sure what use case you have in mind though. Perhaps it's 
something that doesn't fit that description?




More information about the whatwg mailing list