This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I disable ligatures and still allow pages to use their own fonts?

more options

I often save to PDF or mark text then transfer it into a document. Firefox renders many letter combinations as ligatures: ff, fi, ffi, fl, and more. I don't want ligatures. The cures proposed have involved forbidding pages to use their own fonts. Is there another way?

I often save to PDF or mark text then transfer it into a document. Firefox renders many letter combinations as ligatures: ff, fi, ffi, fl, and more. I don't want ligatures. The cures proposed have involved forbidding pages to use their own fonts. Is there another way?

Chosen solution

You can override CSS rules supplied by the webpage with your own rules in userContent.css by appending the "!important" flag to each property value.

Read this answer in context 👍 0

All Replies (4)

more options

You could possibly use code in userContent.css to disable ligatures.


More info about userChrome.css/userContent.css in case you are not familiar:

You need to set this pref to true in about:config to enable userChrome.css and userContent.css in Firefox 69+.

Helpful?

more options

I'm talking about pages authored by others, not myself.

Helpful?

more options

Chosen Solution

You can override CSS rules supplied by the webpage with your own rules in userContent.css by appending the "!important" flag to each property value.

Helpful?

more options

Thanks. I've never written a CSS so I took a minute to figure it out. For those as slow as I am:

body{

   font-variant-ligatures:	none; !important

}

in chrome/userContent.css

It annoys me that it's in the 'chrome' subdirectory, a subdirectory I didn't have until now. Why doesn't Firefox have its own?

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.