Disabling "Show web fonts" broken on Firefox 62, on Android phones with Roboto font replaced
Categories
(GeckoView :: General, defect, P5)
Tracking
(firefox66 wontfix, firefox67 affected)
People
(Reporter: nyanpasu64, Unassigned)
References
Details
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 4•6 years ago
|
||
Will Firefox be fixed to not crash and burn on phones with Roboto replaced? Some websites (like Gitlab issues list) render in an unusable font with enormous space characters, and white emoji-style numerals unreadable on white backgrounds.
Comment 5•6 years ago
|
||
If you're replacing system fonts I think you're on your own here.
What you might be able to do, though, is to adjust the various font.name-list.sans-serif.*
prefs in about:config to include the real name of your replacement font instead of Roboto (or in addition to, especially if you didn't replace all possible font style/weight-combinations with a custom font) - I think the name you need is what you find under Naming table -> fontFamily in the metadata inspector.
Comment 6•6 years ago
|
||
Due to the lack of additional information from the reporter I'll close this issue as Worksforme, If someone can provide more information about this issue, please feel free to reopen the ticket and let us know all the information, thanks.
Comment 7•6 years ago
|
||
Sorry for my mistake, the correct resolution of this bug is Incomplete.
Reporter | ||
Comment 8•6 years ago
|
||
Yes, I used replaced the system Roboto font with Fira Sans using Magisk and https://github.com/gloeyisk/FiraSans-Font which reuses the roboto .ttf names. And changing about:config solved the issue.
But why does Android Chrome, along with other Android apps, not have this problem at all? Do they look up fonts by .ttf name instead of by database lookup?
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•5 years ago
|
||
Replacing system fonts affects other GeckoView-based apps, too, so we should decide whether this is something we want to handle or not.
Comment 10•5 years ago
|
||
Are there non-rooted Android devices that ship without Roboto or ship some other font spoofing as Roboto? We would accept a patch, but this bug is a very low priority because it is an unusual device configuration made by the user.
Comment 11•5 years ago
|
||
We were caught out by some phones (Pixel phones?) apparently officially using Google Sans instead of Roboto, see bug 1529673. So it's a bit less than ideal that we have to take manual action whenever Google (or in theory some other OEM, too) decides to start shipping a new standard system font, but as long as this doesn't happen too often, I guess it's indeed not worth the effort.
Updated•2 years ago
|
Updated•4 months ago
|
Description
•