On Fri, 22 Nov 2013, Felix Miata wrote:
On 2013-11-21 22:50 (GMT-0800) Gianluca Interlandi composed:
I have another installation of 11.3 on a computer with 1600x1050 20'' monitor, resolution: 99x98 dots per inch. When I compare with the 11.3 installation on the 19'' monitor they produce fonts of exactly the same size. Both 11.3 installations run on NVIDIA with proprietary drivers.
Using your link on the 11.3 installation with 1600x1050 (where I'm sitting at right now) I get 98 DPI, default font size 18px. I notice that the 1 inch box is slightly smaller than 1 inch. I am using firefox 24. (In konq it's even smaller.)
Is your Konq by any chance using WebKit instead of KHTML? Some people running KDE3 use Konq4 because it isn't so far behind in implementing the newest web standards.
Can I force a different DPI by setting Xft.dpi in .xsession?
Not every app recognizes the impact of Xft.dpi, one reason I never use it to force, and am not familiar with all places it might be validly set. Fedora and Mageia put it in /etc/X11/Xresources.
I always use DisplaySize to set it, using http://fm.no-ip.com/Share/DisplaySize to select appropriate values. Those using xorg.conf for proprietary nvidia drivers (which I never do) can just set the desired dpi numbers directly, e.g. 'Option "DPI" "100 x 100"'.
Where do you set "DisplaySize"? Is that in the monitor section of xorg.conf? I tried setting 'Option "DPI" "80 x 80"' in /etc/X11/xorg.conf.d/50-monitor.conf but it didn't have any effect on the font size. I played with different values for DPI and DisplaySize and also created a xorg.conf file but it made no difference: Section "Monitor" Identifier "Default Monitor" # # ## If your monitor doesn't support DDC you may override the # ## defaults here # #HorizSync 28-85 # #VertRefresh 50-100 # # ## Add your mode lines here, use e.g the cvt tool # # Force DisplaySize of 19 inch monitor (like in 11.3 installation) DisplaySize 382 302 EndSection I doubt though that it is related to DPI because programs like xmgrace and gv (which don't rely on Qt or GTK libraries) appear exactly the same on the 11.3 and 12.3 installations. Thus I believe that it has something to do with the Qt/GTK settings or fonts. Gianluca
Note that most scalable fonts are tuned to behave best at precisely 96, but seem just as good at any multiple of 24, with other multiples of 12 not far behind. Probably most people can't tell them apart, but random DPI values not a multiple of at least 4 can produce rather puzzling and undesired increments and decrements in adjacent sizes. If using a 98 DPI display and forcing, I'd set 96 for optimal fonts, but 100 for slightly bigger sizing, or 108 for better bigger sizing, all only if precise physical to logical DPI accuracy (1:1) is not highly desired. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://artemide.bioeng.washington.edu/ Research Scientist at the Department of Bioengineering at the University of Washington, Seattle WA U.S.A. http://healthynaturalbaby.org ----------------------------------------------------- -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org