Installed fonts not detected on firefox 99 snap on Ubuntu 22.04

I am trying to use my installed fonts on the Firefox snap but I can't get it working. I'm trying to force a custom font on all pages using the Stylish.

Here's my script:

html > body {font-family: "SF Compact Display"}
html > body > code {font-family: "SF Mono"}

I have installed both the fonts above and this code is working on the all other browsers I have (including the deb version of firefox) but not on the Snap version of firefox. None of my system fonts can be used in web pages. I can't use the Firefox deb version because of Widevine crashes and other minor issues.

How do I get Firefox to detect the installed fonts?

1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like