1 |
On Mon, Oct 19, 2009 at 3:18 PM, Thorsten Kampe |
2 |
<thorsten@×××××××××××××.de> wrote: |
3 |
> * Nikos Chantziaras (Fri, 16 Oct 2009 02:32:21 +0300) |
4 |
>> |
5 |
>> On 10/16/2009 02:22 AM, Thorsten Kampe wrote: |
6 |
>> > |
7 |
>> > I just updated from xorg-server 1.3.0.0-r6 to 1.6. After the upgrade I |
8 |
>> > see a lot of applications have now much bigger fonts then they used to |
9 |
>> > have (the fonts and font sizes of course are the same - they just appear |
10 |
>> > bigger). Examples are KDM, Konsole, most KDE apps (GNOME applications |
11 |
>> > seem not to be affected). |
12 |
>> > |
13 |
>> > The increased fonts looks a bit as when I connect via VNC to the diplay |
14 |
>> > manager session (with the Xorg VNC module). I had the same effect |
15 |
>> > already when I tried to upgrade to Xorg 1.5 (which was why I had to |
16 |
>> > revert back to 1.3). |
17 |
>> > |
18 |
>> > This is a VMware virtual machine with the VMware tools installed and |
19 |
>> > running. |
20 |
>> > |
21 |
>> > What can I do to avoid the "font increase"? |
22 |
>> |
23 |
>> The best thing you can do with VMWare (from my own experiences) is to |
24 |
>> force 96 DPI in /usr/share/config/kdm/kdmrc. Find this line: |
25 |
>> |
26 |
>> ServerArgsLocal=-nolisten tcp |
27 |
>> |
28 |
>> And add "-dpi 96" to it: |
29 |
>> |
30 |
>> ServerArgsLocal=-nolisten tcp -dpi 96 |
31 |
> |
32 |
> That was the solution. I checked the resolution before the upgrade with |
33 |
> "xdpyinfo | grep resolution" (Tip from the German list): 75 dpi. |
34 |
> Afterwards: 96 dpi. Setting it to 75 solved the issue. |
35 |
> |
36 |
> I'd still like to know what exactly changed and if 75 or 96 is the |
37 |
> "correct" value. Nevertheless, I have Xorg server 1.6 running and it |
38 |
> looks fine. |
39 |
|
40 |
Divide your screen resolution (pixels) by its visible area (inches) to |
41 |
get DPI. For example my monitor screen is 16 inches wide and 12 inches |
42 |
tall and I use 1600x1200 resolution. That is 100dpi. In my system this |
43 |
is autodetected when xorg starts (maybe the nvidia drivers do it?). |
44 |
|
45 |
Theoretically, I think if the DPI is set correctly, a 10 point font |
46 |
will be the same physical size on any display. |
47 |
|
48 |
I think most consumer-grade desktop LCD panels are around 75dpi. Some |
49 |
mobile phones like Nokia N82 have a really high-density screen, |
50 |
256dpi. So a website or program that measures its fonts or widgets in |
51 |
fixed pixels rather than relative to the dpi will look dramatically |
52 |
different in those cases. |
53 |
|
54 |
Within programs, using KDE4 daily the DPI seems to be respected almost |
55 |
eveywhere. Sometimes gtk+ apps will have huge fonts for no apparent |
56 |
(to me) reason but I seem to be free of that problem at the moment. |