[ltp] 15" DisplaySize (DPI value)
noc ops
linux-thinkpad@linux-thinkpad.org
Mon, 13 Mar 2006 16:46:02 -0800
Based on the below formula my DPI value doesn't appear to be making
sense. Not sure I'm missing something.
I would appreciate if someone could validate this value.
I have a laptop (15") w/ 1024x768 (max) resolution. My xdpyinfo output
displays 85x85 dpi?
formula:
diagonal mm = diagonal inches * 25.4
horizontal mm = 4* diagonal mm / 5
vertical mm = 3 * diagonal mm /5
381mm = 15 * 25.4
305mm = 4* 381mm /5
229mm = 3* 381mm /5
DisplaySize = 305 229
Here's a cut&paste of my xorg.conf
=================================
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
{snip}
......
Section "Device"
Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M
(RS200 IGP)"
Driver "ati"
BusID "PCI:1:5:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
DisplaySize 305 229
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 330M/340M/350M
(RS200 IGP)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Any insight will be appreciated.
regards,
/virendra