W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-fonts] "system" generic font name

From: Felix Miata <mrmazda@earthlink.net>
Date: Tue, 14 Jul 2015 17:42:24 -0400
Message-ID: <55A58240.30604@earthlink.net>
To: www-style@w3.org
Myles C. Maxfield composed on 2015-07-14 14:14 (UTC-0700):

> TL;DR: Apple proposes adding a new generic font-family named "system".

> It's valuable for web authors to be able to make sites that fit in with
> native platforms without having to write lots of complicated, redundant
> CSS. One case where this is hard right now is matching platforms‚€™ system
> UI fonts.
> 
> CSS describes a collection of ‚€œgeneric‚€ font families. We propose
> adding a new generic font family, ‚€œsystem,‚€ which will be backed by
> whichever font is the native UI font of the platform running the browser.
> Specifically, we are proposing that this new generic font family be
> platform-specific, and not browser-specific, so the same browser running
> on different operating systems will implement this generic font family
> differently.

> WebKit currently implements a similar notion with the ‚€œ-apple-system‚€
> font family, but we feel that a more general approach is valuable to web
> authors. In particular, web authors shouldn‚€™t have to list anything
> specific to each platform they are targeting in their font fallback list.
> Instead, a single generic font family should just do the right thing. This
> is why we are proposing a prefixless value.

> What are your thoughts?

Wouldn't your "system" be equivalent to or duplicative of one or more of the
6 existing "system" fonts on http://www.w3.org/TR/css3-fonts/#font-prop ,
e.g. menu?
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
Received on Tuesday, 14 July 2015 21:42:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:32 UTC