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

Re: [whatwg] font security on measureText

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 2 May 2013 22:38:29 +0100
Message-ID: <CADnb78gA_OioM3Q5MC5xdWnOTPGWbrnjF3uv9wwsMaXC86nEBg@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: WHATWG <whatwg@whatwg.org>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
On Thu, May 2, 2013 at 10:36 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> Does anyone know what this is? It seems to us, that if the font is
> available to CSS (depending on if the browser supports CORS for fonts), it
> should be fine to call measureText.

In that case the font's origin would be the Document's origin though.
Part of the problem here is that CSS lacks a bunch of text.


--
http://annevankesteren.nl/
Received on Thursday, 2 May 2013 21:38:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:58 UTC