Fandom

How To Wiki

How to install and use X-Windows fonts/quick install

< How to install and use X-Windows fonts

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

To quickly install fonts in X-Windows it only takes a few steps. This is assuming you are install TrueType fonts. They are fonts with an extension of .ttf. If you want to install other font types see Howto install and use X-Windows fonts

StepsEdit

  1. Look at the directories in /usr/share/fonts/
  2. Check to see if you have a folder called
    • /usr/share/fonts/TTF
    • /usr/share/fonts/truetype
    • or something similar
    • if you don't have one you need to make one
      See below for instructions
  3. Copy the fonts to this directory
  4. Execute: fc-cache
  5. Restart any program that you want to use the new fonts


Make a font directoryEdit

If a truetype font's directory exists these steps are not necessary

  1. Make directory in /usr/share/fonts
    • Example: /usr/share/fonts/TTF
  2. Copy fonts to directory
  3. Execute: mkfontdir /usr/share/fonts/TTF/
  4. Edit /etc/X11/xorg.conf
    • In "Files" section add line:
      • FontPath "/usr/share/fonts/TTF/"
  5. Execute the following
    1. xset fp+ /usr/share/fonts/TTF/
    2. xset fp rehash
    3. fc-cache
  6. Restart any program that you want to use the new fonts


For detailed instructions see Howto install and use X-Windows fonts

Also on Fandom

Random Wiki