How to add True Type Fonts to RedHat 7.2


As root do the Following

  1. mkdir /usr/share/fonts/ttf
    Choose any directory you want really
  2. cp *.ttf *.TTF /usr/share/fonts/ttf
    Do step 2 from the windows fonts directory
    Make sure you use upper and lower case so you get all the fonts
  3. ttmkfdir -o fonts.scale
    Run the above command from the directory created in step one
  4. mkfontdir /usr/share/fonts/ttf
    Check the dir created in step 1 for two files if you have fonts.scale & fonts.dir you have done it right
  5. /usr/sbin/chkfontpath --add /usr/share/fonts/ttf
    You should get a message to say the font dir has been added run chkfontpath without args to see it listed
  6. Restart the xfs server and logout and back into KDE to use the new fonts
    Done

Things to note



James McDonald