W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 18 Mar 2013 09:40:51 +1300
Message-ID: <CAOp6jLZvB-hgvgXPrL6guNRGz8h237U6K9pfrCHJbWYgQZsTwA@mail.gmail.com>
To: Gregg Tavares <gman@google.com>
Cc: WHATWG <whatwg@lists.whatwg.org>
On Sat, Mar 16, 2013 at 5:52 PM, Gregg Tavares <gman@google.com> wrote:

> Let me ask again in a different way ;-)  Specifically about LCD style
> antialiasing.
>
> What about a context attribute "antialiasRenderingQualityHint" for now with
> 2 settings "default" and "displayDependent"
>
>    context.antialiasRenderingQualityHint = "displayDependent"
>

How would this interact with canvas opacity? E.g. if the author uses
displayDependent and then draws text over transparent pixels in the canvas,
what is the UA supposed to do?

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
Received on Sunday, 17 March 2013 20:41:17 GMT

This archive was generated by hypermail 2.3.1 : Sunday, 17 March 2013 20:41:18 GMT