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

> To the extent that "system", "menu" or "-headline1"-type properties
reflect user-selected preferences, this could expose increased browser
fingerprinting surface or reveal something about the user's vision (e.g.
this user has increased their font size and may have reduced vision).

This is already might be detectable on desktop if someone zoomes the page
(e.g. devicePixelRatio !== default)

So, about system font. Here is what I use to get "system" font on
Android/iOS [1]. This is huge, sometimes buggy and even OS specific already
(see Android notes [2]). And this is only for Latin/non-extreme fonts. This
would be a huge plus if it will be possible to just specify "system"
instead of creating such massive cascades.

Also, if you are going to introduce "system"/"-apply-system" keyword, will
it work in custom font face via "local" function, e.g. like this
"local('-apple-system')"?

[1] https://gist.github.com/NekR/2a4e0abc7e0f591656f9
[2] Android uses some weird naming like "sans-serif-light" or
"sans-serif-medium" to match fonts with different weights.

-- 
@nekrtemplar <https://twitter.com/nekrtemplar>

Received on Sunday, 2 August 2015 23:12:53 UTC