当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

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

  • 6 件の返信
  • 0 人がこの問題に困っています
  • 最後の返信者: RandomTroll

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?

選ばれた解決策

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.

この回答をすべて読む 👍 0

すべての返信 (6)

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+.

役に立ちましたか?

more options

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

役に立ちましたか?

more options

選ばれた解決策

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.

役に立ちましたか?

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?

役に立ちましたか?

more options

Firefox uses the "chrome://" protocol to access its internal files and use chrome in other cases like userChrome.css/userContent.css (no relation with Google Chrome).

役に立ちましたか?

more options

Thanks. Chrome seems like a poor choice of words. What is it supposed to mean? And why use ligatures inappropriately? Many instances of ff and ffi in English aren't ligatures - one knows because the word should be separately into syllables by dividing them there; one can't do that with 'real' ligatures such as æ and œ.

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。