Several months ago after a system upate, firefox started to display blocky fonts and scale elements incorrectly. I have since performed a clean install on the same system without re-using any configuration files, but the issues persist. Using the xf86-video-ati drivers, with bspwm and the infinality-bundle.
$ xdpyinfo | grep -B2 resolution screen #0: dimensions: 1366x768 pixels (361x203 millimeters) resolution: 96x96 dots per inch
true dimensions: 1366x768 pixels (257x146 millimeters) true resolution: 136 ppi
Following the Display/DPI suggestions on the Xorg wiki page results in scaling changes without getting any closer to displaying correctly. I have also disabled bitmap fonts. As shown in the screenshots, using my own font choices on pages instead of web fonts renders clean, anti-aliased fonts but does not help with the scaling issues.
I modify layout.css.devPixelsPerPx key to manually set scaling value, since FF always runs like on 96 dpi for me.
resolution: 96x96 dots per inch
Why isn't 136 being picked up? Or is it being overridden back to 96 by some dumb window-manager?
Anyway, these days I use:
xrandr --dpi 120
At the *start* of ~/.xinitrc
However, I do *not* use an xorg login manager.
And in firefox's about:config, layout.css.dpi is set to -1.