On Sunday 13 November 2005 01:27 am, Felix Miata wrote:
B. Stia wrote:
I have a 21" tft lcd that runs 1600x1200 and kinfocenter says the dpi is 75x75. And the physical dimensions are 542x406 mm's, (that doesn't seem right?)
Are you running 8.2 or something older? 542x406 does not compute for any 21" display I can imagine.
Felix, No, I am running 9.2 with all of the latest updates.
Your page shows my dpi should be 96. (and yes the measure is 1") What is correct?
You don't say which page. http://members.ij.net/mrmazda/auth/dpi.html shows that Kinfocenter seems to be lying.
Hmmm... Lying?? Kinfocenter is also where I got the 542x406 dimensions from.
http://members.ij.net/mrmazda/auth/dpi-screen-window.html reports what xft/fontconfig tells it from (document.getElementById("inches").offsetWidth) (if using an XFT build of Mozilla and JS is enabled), unless you have used Mozilla pref browser.display.screen_resolution to override it.
Yes, this is the page where the 1" bar displays correctly. Are you saying that these pages interact with my display? or are they strictly informational? Not sure what you mean by an XFT build of Firefox but is the original SuSE 9.2 64 bit version updated with apt from SuSE. About:config reports the screen as default.
There also doesn't seem to be a way in SAX to change the dpi, only refresh rates and resolution.
I so rarely use SAX for anything, I can't begin to guess what it should or should not be able to do. I hand tune /etc/X11/xorg.conf and if necessary /etc/X11/Xresources to achieve desired DPI results. Normally I set to a multiple of 12, which seems to minimize anomolies in font size renderings when web pages size text in pt. One pt is 1/72".
I have looked at the "monitor" section of xorg.conf and XF86.config several times. I don't see anyway to set the dpi there. A funny thing, is when this distro was installed I was using an older Optiquest monitor (crt) which showed up in xorg.conf. When I changed to my new tftlcd it showed up in XF86.config (Reported on this list several months ago) without any comments or explanations.
A Linux desktop won't necessarily have a single DPI. Kinfocenter gets its info from xdpyinfo, which reports what xfs believes the DPI to be. XFT versions of Mozilla will report the DPI that xft/fontconfig believe it to be. Without an entry 'DisplaySize' in 'Section "Monitor"' I find typically these will not match.
What is xfs? and what makes it believe the dpi to be something?
Running any recent SuSE you can typically force the two to match whatever DPI you wish to have, accurate or not, by creating a DisplaySize entry in xorg.conf or XF86Config or XF86Config-4 as applicable to your system.
I hesitate to add anything because I really don't know what I am doing or exactly what to add there in with those files and it says "Do not edit" at the top.
If you find this fails to create a match, add or uncomment an entry "Xft.dpi: 96" (or whatever DPI you desire) in Xresources.
Couldn't find an entry like that in xresources
You can pick a DisplaySize/DPI combination from http://members.ij.net/mrmazda/Cfg/displaySize if you wish.
OK looked at that. Lots of choices. Where would I enter that info?
If this too fails, you're most likely starting X with a '-dpi 75' parameter via some script or config file somewhere in the /etc tree.
Oh boy, that would be a lot of fun trying to do that. Could one of the cli gurus come up with a command for that?.......And, how does one fix the actual screen dimensions to the proper value? Or should I just not worry about it and kludge along? Bob S