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

[whatwg] Need document.available_fonts() call

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 11 May 2010 13:47:18 +0200
Message-ID: <4BE943C6.4080008@disruptive-innovations.com>
Le 11/05/10 13:28, Ashley Sheridan a ?crit :

> It's not as clear cut as you make it sound. That script works on the
> basis that the glyphs within a font have different widths compared to
> the same glyph of another font. What happens when two fonts have exactly
> the same dimensions for their glyphs? The script will register a false
> positive. As such, I don't think its a security flaw or anything to
> overly worry about.

Another detection technique based on the computed style of the
'font-family' property would work much better.

Received on Tuesday, 11 May 2010 04:47:18 UTC

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