We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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 to remove pixel-smoothing for Firefox when using in low-resolution mode of macOS

more options

I use an old macbook, and I usually use firefox in low-resolution mode for performance and energy efficiency. In the extended support release version, there is no pixel-smoothing in low resolution mode, which I find it looks better. However, when I switch to use the regular version, it seems like firefox apply from pixel-smoothing filter to the application when in low resolution mode, which I find it blurry and not looking very nice at all, and I doubt that it would some little more of my cpu/gpu useage. Is there any way to have a toggle setting (maybe in about:config) to turn this smoothing off? In the attachment you will find the pictures of 2 versions compare

I use an old macbook, and I usually use firefox in low-resolution mode for performance and energy efficiency. In the extended support release version, there is no pixel-smoothing in low resolution mode, which I find it looks better. However, when I switch to use the regular version, it seems like firefox apply from pixel-smoothing filter to the application when in low resolution mode, which I find it blurry and not looking very nice at all, and I doubt that it would some little more of my cpu/gpu useage. Is there any way to have a toggle setting (maybe in about:config) to turn this smoothing off? In the attachment you will find the pictures of 2 versions compare
Screen ƒe photowo kpe ɖe eŋu

All Replies (8)

more options

You could try disabling Firefox from using hardware acceleration. Obviously that affects other features, too, but I believe it will prevent Firefox from applying sub-pixel aliasing.

This article will get you to the relevant part of the Preferences page: Firefox's performance settings.

(Possibly that is why you don't have sub-pixel aliasing on your ESR installation?)

more options

Hi jscher2000,

Thank you for your response! I tried disabling the hardware acceleration as you suggested. However, it would not work.

Chanwut Kittivorawong trɔe

more options

Make sure that the following two settings are false in about:config

  • gfx.use_text_smoothing_setting
  • layout.css.osx-font-smoothing.enabled
more options

Hello Matthew,

Thank you for answering! However, it still does not work for me :(

more options

It's hard for me to come up with a solution because I don't have a mac, and this behavior does not exist on other systems. Is it possible that you added some sort of exception in the system for the ESR Firefox? The blurriness is affecting parts of the window not drawn by Firefox, so it should be the system that controls this.

As a workaround, you could mess with the dpi of the application: layout.css.devPixelsPerPx

to try to find a sweet spot. The default value (-1) is automatic. I think you'd want a value less than 1.

more options

Note that layout.css.devPixelsPerPx accepts 5% and 10% changes (0.1 and 0.05) to allow fine tuning. Make sure that you do not make the value too small or too large, so double check.

more options

Hi, Thank you for the responses! I tried changing the value; however, it still does not work. I guess, it is fine for me to use the ESR version for now :)

more options

Is it possible for requesting a feature to have a setting in the about:config to disable the pixel smoothing?