How to add True Type Fonts to RedHat 7.2
As root do the Following
-
- mkdir /usr/share/fonts/ttf
- Choose any directory you want really
-
- 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
-
- ttmkfdir -o fonts.scale
- Run the above command from the directory created in step one
-
- 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
-
- /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
-
- Restart the xfs server and logout and back into KDE to use the new
fonts
- Done
Things to note
- Windows has the fonts located
in the %WINDIR%\Fonts directory
- If you don't do it in the above
order you wont be able to add the font path to xfs
James McDonald