When I open the same websites in Firefox, Chrome, and Vivaldi, the content appears much smaller in Firefox than in both Chromium based browsers, despite site zoom is set to 100% in all of them.
Using content with annotated pixel sizes, taking screenshots, and measuring them in GIMP makes me conclude, that the display size is correct in Chrome but too small in Firefox.
I found an old Mozilla support issue. While it's about content being to large on Windows, it says that Firefox is supposed to respect system-wide device pixel density settings by default, and that it can be overridden setting layout.css.devPixelsPerPx
to a custom value in about:config
. While a value of 1.2
seems to "fix" the problem, I would rather fix the root cause and make sure my system is set up correctly.
Where would I adjust Linux device pixel density settings to correct the zoom in Firefox without breaking it in Chrome?
I use Ubuntu 20.04.3 LTS with Ubuntu Budgie desktop on a Tuxedo Infinitybook.
0 Answers