[Bug 1874842] Re: Fonts installed using msttfcorefonts package (ttf-mscorefonts-installer) are not detected by some sites
Juozas Pocius
1874842 at bugs.launchpad.net
Sat Apr 25 14:05:02 UTC 2020
After some googling & investigation I found out that Nimbus Sans substitutes Helvetica when fonts-urw-base35 package is installed but it does not render correctly on some sites compared to Soto Sans or Arial. Running 'fc-match Helvetica' returns 'NimbusSans-Regular.otf: "Nimbus Sans" "Regular"'
Workaround would be to add an override to chrome/userContent.css file in the profile folder and then restart the browser:
@font-face {
font-family: Helvetica;
src: local('Noto Sans');
}
Alternate method would be creating ~/.config/fontconfig/fonts.conf xml file if it doesn't exist and adding override there, but it would be not as easy syntax-wise compared to the above method.
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1874842
Title:
Fonts installed using msttfcorefonts package (ttf-mscorefonts-
installer) are not detected by some sites
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1874842/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list