![]() ![]() The whole problem seems to be related to how Firefox deals with font-weight.įont-weight: 300 - for some strange reason Firefox decided to pick just PingFangSC-Thin for just "喺咁㗎".ġ) font-weight should apply to the entire text node.Ģ) The font should be the "Light" variant, because "Light" corresponds to font-weight: 300, Thin should be 100.ģ) The font's script is wrong. Let's isolate this issue with, there seems to be a lot of things wrong here. Now this will give us a completely pristine environment.Īs to changing System Preferences Preferred languages ordering, I don't see any difference whatsoever with any ordering, so I don't think Firefox is picking it up at all. I've picked Safe mode and Don't import anything. I'm on macOS 10.13.1, starting Firefox with /Applications/Firefox.app/Contents/MacOS/firefox -safe-mode -migration. Jonathan what macOS and Firefox version are you running, and have you rm ~/Library/Preferences/ ? In Firefox 58.0b4, the above (as shown in Inspector > Fonts) is always rendered using a mix of Hiragino Kaku Gothic ProN W3 and PingFang SC Thin, irrespective of the System Preferences setting.Īs a user in Hong Kong, Chrome's behaviour is more preferable. ![]() Traditional Chinese (Hong Kong) or Cantonese (Traditional). ![]() In Chrome, the font used to render the above changes according to which CJK language comes first in the System Preference setting:Ģ. FWIW Chrome does indeed resolve to different fonts, which IMHO gives a more pleasant UX.Ī minimal test case for the above text would be: Facebook is using the "system-ui" font, which the OS should resolve to different fonts according to the language order set in System Preferences > Languages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |