0

I installed the Roboto font to be able to use it in LibreOffice:

mv ~/Downloads/Roboto ~/.fonts/

This works fine, the font can be used in LibreOffice as intended. However, for some reason firefox now thinks that it should use "Roboto Black" as the default font for all websites that rely on "font-family: system-ui;", making them essentially unreadable (this affects many "major" websites, like twitter, linkedin, etc)

  1. Why does firefox think it should use this particular font? The font is not referenced in the firefox settings (screenshot) and there are other fonts installed in ~/.fonts/, so why this one?
  2. Gnome Tweaks (screenshot) doesn't mention Roboto at all
  3. How can I revert this behaviour, but still keep using the Roboto font in LibreOffice?

Ubuntu 18.04, Firefox 68.0.1 installed via apt repo (no snaps).

  • 1
    I would try to remove them from ~/.fonts and install the fonts-roboto package from the Ubuntu archive instead. I think that will change the fontconfig priority order to your liking. – Gunnar Hjalmarsson Aug 14 at 11:05
  • @GunnarHjalmarsson Thank you, this works - but it's more a workaround than a solution. I will probably have the same issue again as soon as I install the next font (and not all fonts are available as a .deb) - any idea what is happening here or how to prevent this behaviour? – user2084732 Aug 19 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.