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

[whatwg] Need document.available_fonts() call

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 11 May 2010 10:08:01 -0400
Message-ID: <4BE964C1.3050606@mit.edu>
On 5/11/10 9:39 AM, Ashley Sheridan wrote:
> Is there really much of a need for this though?

Good question.  What _is_ the use case here, exactly?

> The only argument I've seen is that various fonts are obviously
> different sizes, and so falling back to a different font might look best
> if the font-size also changed with it.

Sure, and CSS has provisions for this.  See 
http://www.w3.org/TR/css3-fonts/#relative-sizing-the-font-size-adjust-pro (also 
present in CSS2; removed from CSS2.1 due to poor UA support as far as I 
can tell, but the right solution to this problem).

Received on Tuesday, 11 May 2010 07:08:01 UTC

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