Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Re: big fonts after Xorg update
Date: Mon, 19 Oct 2009 21:54:41
Message-Id: 58965d8a0910191454v6acb686clcc7b227227d06c@mail.gmail.com
In Reply to: [gentoo-user] Re: Re: big fonts after Xorg update by Thorsten Kampe
1 On Mon, Oct 19, 2009 at 3:47 PM, Thorsten Kampe
2 <thorsten@×××××××××××××.de> wrote:
3 > * Paul Hartman (Mon, 19 Oct 2009 15:38:12 -0500)
4 >>
5 >> On Mon, Oct 19, 2009 at 3:18 PM, Thorsten Kampe
6 >> <thorsten@×××××××××××××.de> wrote:
7 >
8 >> > That was the solution. I checked the resolution before the upgrade with
9 >> > "xdpyinfo | grep resolution" (Tip from the German list): 75 dpi.
10 >> > Afterwards: 96 dpi. Setting it to 75 solved the issue.
11 >> >
12 >> > I'd still like to know what exactly changed and if 75 or 96 is the
13 >> > "correct" value. Nevertheless, I have Xorg server 1.6 running and it
14 >> > looks fine.
15 >>
16 >> Divide your screen resolution (pixels) by its visible area (inches) to
17 >> get DPI. For example my monitor screen is 16 inches wide and 12 inches
18 >> tall and I use 1600x1200 resolution. That is 100dpi. In my system this
19 >> is autodetected when xorg starts (maybe the nvidia drivers do it?).
20 >
21 > This is a VMware virtual machine using a virtual monitor on a physical
22 > machine with two physical monitors. I'm not sure whether calculating DPI
23 > that way would lead to meaningfull results for the virtual machine. This
24 > whole "hard" setting of DPI for a monitor seems anachronistic to me.
25
26 I think the DPI of the monitor would still be valid in the vmware
27 window, just set it to that of your physical monitor and I think it
28 should be the same. The size of 1 pixel in the vmware window should be
29 the same as the size of 1 pixel in your monitor normally. If your two
30 monitors are not the same DPI then things could be complicated though.
31 I don't use multi-monitors so I'm unfamiliar with how that would work.
32
33 In my Xorg.0.log I see these lines among others from the Nvidia driver
34 initialization:
35
36 (II) NVIDIA(0): Virtual screen size determined to be 2048 x 1152
37 (--) NVIDIA(0): DPI set to (101, 100); computed from "UseEdidDpi" X config
38 (--) NVIDIA(0): option
39
40 Not sure how it works for other video drivers. On this one, at least,
41 the DPI is set automatically.