Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 6 trả lời
  • 0 gặp vấn đề này
  • 19 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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+.

Hữu ích?

more options

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

Hữu ích?

more options

Giải pháp được chọn

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.

Hữu ích?

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?

Hữu ích?

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

Hữu ích?

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

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.