W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] Enabling LCD Text in 2D canvases.

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 13 Nov 2012 18:37:34 -0800
Message-ID: <CAOp6jLYNw6DjXUi=0aA=eOOHpDciNHfLA2ZdgVz60rDTQP1HgQ@mail.gmail.com>
To: Justin Novosad <junov@chromium.org>
Cc: whatwg <whatwg@lists.whatwg.org>
On Mon, Nov 12, 2012 at 2:36 PM, Justin Novosad <junov@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]
Received on Wednesday, 14 November 2012 04:10:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT