@mwichary Since "system" isn't one of the CSS reserved names, it's consulting the OS for what it thinks "system" means, so that will be whatever.
Conversation
Notices
-
Embed this notice
jwz (jwz@mastodon.social)'s status on Tuesday, 03-Dec-2024 12:45:32 JST jwz
-
Embed this notice
Marcin Wichary (mwichary@mastodon.online)'s status on Tuesday, 03-Dec-2024 13:11:39 JST Marcin Wichary
@benetherington @jwz Yeah, I remember all moving to system-ui in CSS to solve for that, but still unsure how does system go to Tahoma on my Mac – would love to understand. I casually looked at Chromium code, but didn’t go far.
-
Embed this notice
jwz (jwz@mastodon.social)'s status on Tuesday, 03-Dec-2024 13:11:39 JST jwz
@mwichary @benetherington My bet would be that you have an errant .ttf somewhere. But yeah, the MS Office thing sounds like a likely culprit.
-
Embed this notice
I’m 481 Phones (benetherington@spacey.space)'s status on Tuesday, 03-Dec-2024 13:11:40 JST I’m 481 Phones
@jwz @mwichary yeah, it’s undefined behavior I believe. Apparently, MS System is still shipped in some versions of Windows? Maybe Veranda is a fallback?
-
Embed this notice
jwz (jwz@mastodon.social)'s status on Tuesday, 03-Dec-2024 13:16:28 JST jwz
@benetherington @mwichary Based on the behavior I saw, I'm reasonably certain that the web browser is saying, "I don't know what 'system' is, I will ask the OS". @mwichary 's macOS is saying "yes, here is the font 'system' that you asked for" whereas my macOS is saying "nope never heard of it" and then the browser moves on to the next one in the list.
-
Embed this notice
I’m 481 Phones (benetherington@spacey.space)'s status on Tuesday, 03-Dec-2024 13:16:29 JST I’m 481 Phones
@mwichary @jwz I think my theory still makes sense, but I’m no expert. If the OS can’t serve the requested font, Chromium has to decide on a fallback. Maybe it knows what System is, and has a designated fallback? Too bad this would be hard to automate (since getComputedStyle is worthless), it would be fun to run through a dictionary and see what non-font names trigger font changes.
-
Embed this notice