Re: Debian with HiDPI / 4K displays
On 2015-08-08 20:58:37 +0200, Daniel Pocock wrote:
> So, is there any strategy for HiDPI with Debian? Is a BTS tag needed to
> track such issues perhaps? Or is it already dealt with in unstable and
> people just have to wait for it?
I have similar problems with a 3200x1800 15" screen. Here's my
Xresources file for high DPI:
! X resources for high-definition screens
! This will define the unit for the font sizes below.
Xft.dpi: 132
Emacs*font: Monospace 10
Emacs*geometry: 80x48
! With the following, the width should be $((11*COLUMNS+13)) pixels;
! in contrast, the fixed = 6x13 bitmap font is typically used on a
! low-definition screen, giving a width of $((6*COLUMNS+13)) pixels.
XTerm*faceName: Monospace
XTerm*faceSize: 10
! For xterm menus. This font is large enough, but a bit ugly.
XTerm*font: -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1
! The fontList resource is not documented, but found in "xpdf/XPDFApp.cc".
Xpdf*fontList: -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1
Xpdf.initialZoom: 200
--------
and my firefox.cfg file:
// IMPORTANT: Start your code on the 2nd line
var hdef = getenv("X11_HDEF");
if (hdef >= 2400) {
pref("layout.css.devPixelsPerPx", "1.77");
} else {
pref("layout.css.devPixelsPerPx", "-1.0");
}
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: