Results 1 to 3 of 3

Thread: Strange X Font problems. Please help!

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    2

    Strange X Font problems. Please help!

    Hi!

    I've recently tried to install and set up Debian Linux. At first I tried Woody but I soon realized that it was very difficult to configure without having a working network connection (nforce2 board...). So I installed the newest Knoppix distribution (3.3) to my harddisk.

    I guess I almost got the onboard nic drivers to work, but when I tried to start netcardconfig, I got strange error messages about having wrong fonts and so I can't set up my netcard.
    These messages also occur when trying to start emacs (X version) or other programs that communicate with the X server.

    I'll put out the messages at the end of this post along with my XF86Config-4 file, as I already googled to solve this problem and found some "solutions" that invoked changing the XF86Config-4 file.

    I really hope somebody can help me, as I'm a Linux noob, but am pretty impressed by this OS (especially the debian distros).

    Thanks in advance,

    Timo

    P.S.: Please excuse my english, as I only had it in school and never got to train it in reality.

    /usr/bin/emacs error output:

    Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
    Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

    xfontsel error output:

    Warning: Unable to load any usable ISO8859 font
    Segmentation fault

    /usr/sbin/netcardconfig error output:

    The font "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,

    -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,
    -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,
    -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-15,*-r-*" does not support all the required character sets

    for the current locale "de_DE@euro"

    /etc/X11/XF86Config file:

    Section "Files"
    # FontPath "unix/:7100" # local font server
    FontPath "/usr/X11R6/lib/X11/fonts/local"
    FontPath "/usr/X11R6/lib/X11/fonts/misc"
    # if the local font server has problems, we can fall back on these
    FontPath "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath "/usr/X11R6/lib/X11/fonts/CID"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
    # FontPath "/usr/lib/X11/fonts/misc"
    FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
    EndSection

    Section "Module"
    Load "GLcore"
    Load "bitmap"
    Load "dbe"
    Load "ddc"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "record"
    Load "speedo"
    Load "type1"
    Load "vbe"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "Device"
    Identifier "GeForce4 Ti-4200"
    Driver "nv"
    BusID "PCI:3:0:0"
    VideoRam 65536
    EndSection

    Section "Monitor"
    Identifier "Macom S82"
    HorizSync 30-60
    VertRefresh 50-75
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "GeForce4 Ti-4200"
    Monitor "Macom S82"
    DefaultDepth 24
    SubSection "Display"
    Depth 1
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You are missing the lines for the fonts in your font path section, here's what my section looks like:
    Code:
    Section "Files"
    #       FontPath        "unix/:7100"                    # local font server
            # if the local font server has problems, we can fall back on these
    #       FontPath        "/usr/lib/X11/fonts/Type1"
    #       FontPath        "/usr/lib/X11/fonts/CID"
            FontPath        "/usr/lib/X11/fonts/Speedo"
            FontPath        "/usr/lib/X11/fonts/misc"
    #       FontPath        "/usr/lib/X11/fonts/cyrillic"
            FontPath        "/usr/lib/X11/fonts/75dpi"
            FontPath        "/usr/lib/X11/fonts/100dpi"
            FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
            FontPath        "/usr/share/fonts/ttf/western"
            FontPath        "/usr/share/fonts/ttf/decoratives"
            FontPath        "/usr/lib/X11/fonts/Type1"
    EndSection
    You should be looking for the proper paths in /usr/share/fonts/ttf and truetype and add the paths then re-start the X-server to have them available to be used. You should move the FontPath "/usr/lib/X11/fonts/Type1" to the bottom of the section to have them used as the last fonts in the path and have the true type fonts above them so they are used first. If the fonts look to big and blocky you should move the 75dpi line above the 100dpi one in the XF86Config-4 and check in /etc/kde3/kdm/Xservers and change the -dpi 100 lines to 75 and re-start the X-server.

    [edit]
    You may want to look at this thread to see the file paths you should be looking for.
    [/edit]

  3. #3
    Junior Member
    Join Date
    Oct 2003
    Posts
    2
    yessssssssssssss!

    Stephen, you're the greatest!

    Though I didn't know what to do in the directories you pointed me to, I just put these into my XF86Config-4 file, restarted my X server an voila: It works!

    And not only that you have solved the problem with the fonts, after doing what you said, I was able to run netcardconfig and now I've got a running network connection in debian!

    yesssssssssssss!

    For all who might have the same problem as me, here's my new XF86Config-4 file (the part that I changed):

    Section "Files"
    # FontPath "unix/:7100" # local font server
    FontPath "/usr/X11R6/lib/X11/fonts/local"
    FontPath "/usr/X11R6/lib/X11/fonts/misc"
    # if the local font server has problems, we can fall back on these
    FontPath "/usr/share/fonts/ttf"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/X11R6/lib/X11/fonts/CID"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
    # FontPath "/usr/lib/X11/fonts/misc"
    FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1"
    EndSection

    Thanks again, Stephen!

    Timo

Similar Threads

  1. Strange problems in different variants of LINUX!
    By bhasker varma in forum Hardware & Booting
    Replies: 0
    Last Post: 05-16-2005, 08:51 PM
  2. 2 VERY STRANGE problems with hdd install that arent w/liveCD
    By redss in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 11-11-2004, 05:23 AM
  3. Strange dependency problems related to Perl
    By Doppelbock in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-19-2004, 01:21 AM
  4. Strange keyboard problems
    By Hans in forum Hardware & Booting
    Replies: 1
    Last Post: 09-15-2003, 09:02 PM
  5. Monitor and Font Problems
    By merlin in forum General Support
    Replies: 2
    Last Post: 01-17-2003, 03:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$169.99



Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections picture

RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections

$63.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$225.00