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

I guess there's too many "might"s in there :-)

I want to "adjust line positions and line widths to align edges with device
pixels" but not "the user agent might turn off anti-aliasing for all lines
and curves"

On Tue, Jul 23, 2013 at 6:11 PM, Brian Birtles <bbirtles@mozilla.com> wrote:

> (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?
>
>

Received on Wednesday, 24 July 2013 01:17:11 UTC