Find the answer to your Linux question:
Results 1 to 2 of 2
I was reviewing some of my config files and when checking out xorg.conf I have noticed an interesting thing about FontPath. Here is how it currently looks Code: Section "Files" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347

    Xorg Font Question


    I was reviewing some of my config files and when checking out xorg.conf I have noticed an interesting thing about FontPath. Here is how it currently looks
    Code:
    Section "Files"
            RgbPath      "/usr/X11R6/lib/X11/rgb"
            ModulePath   "/usr/X11R6/lib/modules"
            FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
            #FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
            FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
            FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
            FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
            FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
            FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
    EndSection
    I do have fonts in there
    Code:
    insomnia lib # cd /usr/X11R6/lib/X11/fonts
    insomnia fonts # ls
    100dpi  Type1     corefonts  encodings      local               ukr
    75dpi   aquafont  cyrillic   fonts.cache-1  misc                util
    TTF     artwiz    default    freefont       ttf-bitstream-vera
    And I also have my /usr/share/fonts
    Code:
    insomnia fonts # cd /usr/share/fonts
    insomnia fonts # ls
    100dpi  Type1     corefonts  encodings      local               ukr
    75dpi   aquafont  cyrillic   fonts.cache-1  misc                util
    TTF     artwiz    default    freefont       ttf-bitstream-vera
    Some of the folders are obviously not listed, so should I fix this to this
    Code:
    Section "Files"
            RgbPath      "/usr/X11R6/lib/X11/rgb"
            ModulePath   "/usr/X11R6/lib/modules"
            FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
            FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
            FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
            FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
            FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
            FontPath     "/usr/X11R6/lib/X11/fonts/ttf-bitstream-vera/"
            FontPath     "/usr/X11R6/lib/X11/fonts/freefont/"
            FontPath     "/usr/X11R6/lib/X11/fonts/artwiz/"
            FontPath     "/usr/X11R6/lib/X11/fonts/corefonts/"
    EndSection
    And should I use /usr/X11R6/lib/X11/fonts or /usr/share/fonts?

  2. #2
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    I checked my system and I only have those fonts in /usr/X11R6/lib/X11/fonts/, I'm not sure what your shared fonts are for but seeing as I don't have them and I have no problems either I can't take much of a guess at that.
    You can try seeing if it'll take the other fonts, but there's no guarantees, it won't break X and it'll just give you an error message for each if there's a problem with it, the best way to see this is to startx and then immediately exit X to see all messages from start to finish.

    Either way your fonts are correct, and it won't do any harm to try the others, the only thing I can't tell you is what the shared fonts are for, maybe you can find that out or someone else has the answer.

Posting Permissions

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