You are not logged in.

#1 2016-01-13 21:27:46

epizeuxis
Member
Registered: 2015-11-24
Posts: 7

dpi/scaling issues in firefox

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.

screenshots

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

Offline

#2 2016-01-14 04:33:04

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: dpi/scaling issues in firefox

I modify layout.css.devPixelsPerPx key to manually set scaling value, since FF always runs like on 96 dpi for me.

Offline

#3 2016-01-14 13:05:05

brebs
Member
Registered: 2007-04-03
Posts: 3,427

Re: dpi/scaling issues in firefox

epizeuxis wrote:

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.

Offline

Board footer

Powered by FluxBB