LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kde fonts problem with nvidia driver (https://www.linuxquestions.org/questions/linux-software-2/kde-fonts-problem-with-nvidia-driver-240663/)

eantoranz 10-09-2004 02:29 PM

kde fonts problem with nvidia driver
 
Hi!

I just installed the nvidia driver for my GeForce2 Go video card in my laptop (inspiron 8100).

It works just fine, however I notice that the KDE fonts are bigger than they were with the XFree nv driver. They look about 50% bigger than they were.

In mozilla, for example, the fonts look bigger in the menu and the title bar... however, the content looks exactly the way it was before.

I remember that when I had Mandrake 9.2 installed in this same laptop, There was an option I used in the XFConfig file that corrected this problem..... but I can't remember what it was. Do you know?

Do you have another idea to get it back to normal?

I use Mandrake 10 now.

This is the XF86Config-4 I use:
Code:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    ################### Load "glx" # 3D layer
        Load "glx"
        Load "dri"
        Load "GLcore"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "es"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/mouse"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1600x1200"
    HorizSync 31.5-90
    VertRefresh 60
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344  480  488  494  563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    #Driver "nv"
        Driver "nvidia"
        Option "NoLogo" "true"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Virtual 1600 1200
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Virtual 1600 1200
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Virtual 1600 1200
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Virtual 1600 1200
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

Oh.... and by the way... the X says it can't load the GLcore module:
Code:

(EE) Failed to load module "GLcore" (module does not exist, 0)
My main worry is the fonts size. What do you think?

kak 10-09-2004 08:24 PM

Load "dri"
Load "GLcore"

both should be commented out if you are using "nvidia"

eantoranz 10-10-2004 01:38 PM

You were right!

I misunderstood the instructions, Thought they actually had to be in the file.

I removed them.... however, fonts look the same. :'(

Other ideas?

Where can I see all the options available for the module section in the XF86Config-4 file?

kak 10-10-2004 09:06 PM

Never had a size problem with fonts other than too small...........but can you adjust them in the KDE control panel?

eantoranz 10-10-2004 09:12 PM

Sure, man.... I corrected the fonts for KDE.... however, menu fonts in all the applications are TOO big. The fonts in the login application are too big too.

I tried with the "nv" driver and it was perfect. I try with "nvidia" and the fonts go giant.

The menu fonts in mozilla are too big. So are the fonts in amsn. (just to name two applications)

kak 10-10-2004 09:19 PM

I just noticed:
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Does Mandrake have it's own font configuration tool? Maybe its not playing nice with nvidia? Not sure otherwise.
Mine reads:


FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

eantoranz 10-10-2004 09:25 PM

It does use XFS. I'll comment the xfs line and add yours. Let's see how it goes. Hold on a second.

eantoranz 10-10-2004 09:36 PM

Nope, man... same thing.... and the fonts look edgier now.

Where can I set the font for a given application? is there a default font?

Suppose:
I go to runlevel 3
Then I start X
and then I start mozilla. It will have a font for the menu and so on. Where can I set that font?

kak 10-10-2004 09:51 PM

I would have to think there is an easier way. Try these links, I post any more if I find anything.

http://www.troubleshooters.com/linux...crumbfonts.htm

http://www.redhat.com/docs/manuals/l...1-x-fonts.html

kak 10-10-2004 09:57 PM

http://www.linuxplanet.com/linuxplan...orials/3163/3/

about a third of the way down the page "3.2.1.2. Adjusting the Default Font Size"

Hope that works.

eantoranz 10-11-2004 09:40 PM

Got it!

Someone at the nVidia Forums helped me.

Here's the link: http://www.nvnews.net/vbulletin/showthread.php?t=38414


All times are GMT -5. The time now is 10:07 AM.