[whatwg] Enabling LCD Text and antialiasing in canvas

Robert O'Callahan robert at ocallahan.org
Wed Feb 13 19:27:32 PST 2013


On Thu, Feb 14, 2013 at 4:18 PM, Rik Cabanier <cabanier at gmail.com> wrote:

> On Thu, Feb 14, 2013 at 2:12 PM, Robert O'Callahan <robert at ocallahan.org>wrote:
>
>> On Thu, Feb 14, 2013 at 3:55 PM, Rik Cabanier <cabanier at gmail.com> wrote:
>>
>>> What would happen if you set 'opaque' to true and you draw with alpha and
>>> 'copy' compositing? It seems that that has the same issue (unless you're
>>> OK
>>> with breaking drawing).
>>>
>>
>> The alpha values of all moz-opaque canvas pixels are simply not affected
>> by compositing.
>>
>
> Exactly! So, this will break drawing as the pixels with no alpha will be
> black with no way to undo that.
>

I don't know what you mean by "no way to undo that" or "break drawing".

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]



More information about the whatwg mailing list