[whatwg] Enabling LCD Text in 2D canvases.

Robert O'Callahan robert at ocallahan.org
Tue Nov 13 18:37:34 PST 2012


On Mon, Nov 12, 2012 at 2:36 PM, Justin Novosad <junov at chromium.org> wrote:

> Any thoughts?
>

We'd have to define what happens when you use subpixel antialiasing
"incorrectly", because we can be pretty sure authors will use it
incorrectly and expect to get interoperable behavior.

Mozilla supports a "mozOpaque" attribute which makes the canvas buffer RGBX
(initialized to solid black) and enables subpixel antialiasing for most
text drawing. That might be enough to address your use-cases.

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]



More information about the whatwg mailing list