Tuesday, December 5, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  0] [ 0]  / answers: 1 / hits: 355  / 2 Years ago, fri, september 3, 2021, 4:34:39

I need to use an intranet app which relies on locally installed fonts for its look, but snap version of Firefox by default doesn't look into user's ~/.fonts. Is there a workaround for that? If not, are there plans to address this specific use case?

More From » firefox


There is currently a bug that prevents Firefox from correctly using locally installed fonts. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1760996

I have set up a workaround on my computer using symlinks:

  • ~/snap/firefox/current/.local/share/fonts~/.local/share/fonts

  • ~/snap/firefox/current/.config/fontconfig~/.config/fontconfig

First you create the symbolic links.

After that, you run

fc-cache -f -r

to force Firefox to use the refreshed font cache.

Finally, restart Firefox to make the change take effect.


I have installed the Apple's SF Pro fonts on my computer. Here is what I got after I have set up these symlinks, opened up https://fetch.spec.whatwg.org/, and changed the global font family (as defined in <html> of that page) to SF Pro Text:

Fetch Standard (SF Pro Text)

[#255] Friday, September 3, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 487
Total Questions: 106
Total Answers: 110

Location: Laos
Member since Sun, Jul 3, 2022
1 Year ago