Clock on customized Chrome new tab page does not select the correct font
Reported by
kmark...@gmail.com,
Dec 12
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.14 Safari/537.36 Steps to reproduce the problem: 1. Select a custom new tab page background at the bottom right 2. The clock that appears uses the default font instead of the expected one What is the expected behavior? The correct SF font is used. Probably SF UI Display. What went wrong? The font family of #user-dtw.macos is set to "SF UI" which does nothing on my system. I have to explicitly set it to "SF UI Display" to get it to work. Did this work before? No Chrome version: 72.0.3626.14 Channel: dev OS Version: OS X 10.13.6 Flash Version: I may have manually installed the SF UI fonts from https://developer.apple.com/fonts/ If I did this could mean that my solution of selecting "SF UI Display" explicitly may not work on systems that didn't have the SF UI fonts manually installed. I'm not sure to what extent the SF UI fonts are exposed to applications when the font is not manually installed and the only copies are those pre-installed.
,
Dec 12
,
Dec 14
,
Dec 17
Anyone knows what is the right thing to do: - should it always be "SF UI Display"? - or it should fallback to "SF UI Display" when "SF UI" is not available? - or opposite, fallback to "SF UI" when "SF UI Display" is not available?
,
Dec 17
If SF UI is not available, the fallback should be "Roboto, arial, sans-serif".
,
Dec 17
That would presumably make it appear as Roboto on my system instead of SF. Is that intended?
,
Dec 17
Yes, that's correct. Roboto is the default font we use if OS specific fonts are not available.
,
Dec 17
The curious thing is that OS-specific fonts are available on my machine as I'd expect for them to be on all Macs, just for some reason only accessible via "SF UI Display" instead of "SF UI." As an example if I set the font to BlinkMacSystemFont it does show the expected font. I'll see if I can replicate this issue I'm getting in a fresh VM.
,
Dec 17
Thanks for the info. Using BlinkMacSystemFont will set the correct system font on macos.
,
Dec 18
,
Dec 18
,
Dec 20
On a fresh High Sierra install the only font option that works is BlinkMacSystemFont.
,
Dec 20
Thanks. The fix is in, but will be visible after Jan 4th.
,
Jan 11
Just noting: Fix works for me, but only after a hard refresh |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by meh...@chromium.org
, Dec 12Components: -UI UI>Browser>NewTabPage