W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: exposing CANVAS or something like it to Web Workers

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 14 May 2012 22:24:32 -0400
Message-ID: <4FB1BE60.9040404@mit.edu>
To: Charles Pritchard <chuck@jumis.com>
CC: "Gregg Tavares (勤)" <gman@google.com>, public-webapps@w3.org
On 5/14/12 10:18 PM, Charles Pritchard wrote:
> On 5/14/2012 7:09 PM, Boris Zbarsky wrote:
>> On 5/14/12 10:00 PM, Charles Pritchard wrote:
>>> What would web fonts do in this situation, in Mozilla?
>>
>> Probably cry. ;)
>>
>>> If I've confirmed that a font is loaded in the main thread, would it
>>> be available to a
>>> worker for use in rendering?
>>
>> Not without some pretty serious reworking. Which might need to happen.
>>
>> Of course basic text layout would also not be available without some
>> serious reworking (e.g. making the textrun cache threadsafe or
>> creating per-thread textrun caches or something), so the question of
>> web fonts is somewhat academic at the moment.
>>
>
> I meant solely for Canvas 2d.

Yes, I understand that.  Canvas 2d text still needs to be able to do 
things like font fallback, shaping, bidi, etc, etc, etc. last I checked.

-Boris
Received on Tuesday, 15 May 2012 02:25:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT