View Single Post
Old 04-20-04, 10:49 AM   #6
artoo
5200go 5336
 
Join Date: Apr 2004
Posts: 8
Default Re: BIG FONTS, small fonts

In the seccond device section, I had tried as recommended. And that is when poor resolution was obtained on laptop LCD.

I think my problem may stem from the fact that when using twinview on a laptop, teh external monitor becomes primary head. I run that at 1280x1024, and set my fonts to look good using that as well as the internal, but the DPI would have been fetched from the external. So when I use just the laptop LCD, the fonts were set using the DPI of the external, and things get out of porportion.

Perhaps if I could use the internal LCD DPI in dual-head, set my fonts up that way, and then things might look ok in singl-head. Can this be done? Another solution maybe?

Code:
Section "ServerLayout"
	Identifier     "Dual"
	Screen      0  "Screen0" 0 0
	InputDevice "Mouse1" "CorePointer"
	InputDevice "USB_Mouse" "SendCoreEvents"
	InputDevice "Keyboard1" "CoreKeyboard"
	InputDevice "USB_Keyboard" "SendCoreEvents"
EndSection
Section "ServerLayout"
	Identifier     "Single"
	Screen      0  "Screen1" 0 0
	InputDevice "Mouse1" "CorePointer"
	InputDevice "USB_Mouse" "SendCoreEvents"
	InputDevice "Keyboard1" "CoreKeyboard"
	InputDevice "USB_Keyboard" "SendCoreEvents"
EndSection
Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath   "unix/:-1"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "glx"
	Load  "speedo"
	Load  "type1"
	Load  "freetype"
EndSection
Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "inspiron"
    Option "XkbLayout"  "us"
EndSection
Section "InputDevice"
        Identifier      "USB_Keyboard"
        Driver          "keyboard"
        Option          "XkbModel" "pc104"
        Option          "XkbLayout" "us"
EndSection

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "synaptics"

    Option      "Protocol"      "event"
    Option      "Device"        "/dev/input/event0"
    Option      "LeftEdge"      "1900"
    Option      "RightEdge"     "5400"
    Option      "TopEdge"       "1900"
    Option      "BottomEdge"    "4000"
    Option      "FingerLow"     "25"
    Option      "FingerHigh"    "30"
    Option      "MaxTapTime"    "180"
    Option      "MaxTapMove"    "220"
    Option      "VertScrollDelta" "100"
    Option      "MinSpeed"      "0.02"
    Option      "MaxSpeed"      "0.10"
    Option      "AccelFactor"   "0.0010"
    Option      "SHMConfig"     "on"
EndSection

Section "InputDevice"
        Identifier      "USB_Mouse"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
	Identifier "Monitor0"
	VendorName "Monitor Vendor"
	ModelName "Monitor Model"
	HorizSync 30-81
	VertRefresh 56-75
EndSection

Section "Device"
        Option     "NoLogo" "true"            	# [<bool>]
        Option     "HWcursor" "on"          	# [<bool>]
        Option     "NvAGP" "1"             	# <i>
        Option     "TwinView" "true"          	# [<bool>]
        Option     "TwinViewOrientation" "RightOf"	# <str>
        Option     "SecondMonitorHorizSync" "43-85" #<str>
        Option     "SecondMonitorVertRefresh" "40-60"	# <str>
        Option     "MetaModes" "1280x1024, 1400x1050; 800x600, NULL; NULL, NULL"	# <str>
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "GeForce FX Go5200"
	BusID       "PCI:1:0:0"
EndSection
Section "Device"
        Option     "NoLogo" "true"            	# [<bool>]

        Option     "NvAGP" "1"             	# <i>
	Identifier  "Card1"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "GeForce FX Go5200"
	BusID       "PCI:1:0:0"
EndSection
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1400x1050"
	EndSubSection
EndSection
Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1400x1050"
	EndSubSection
EndSection
Section "DRI"
   Mode 0666
EndSection
artoo is offline   Reply With Quote