Fixing Fonts in Linux

This will be of use if you're trying to run scientific applications (even remotely) like matlab or mathematica, which don't seem to support all Linux distros and have all sorts of trouble rendering stuff.

Remedy 1:

Install fc9 fonts: http://rpm.pbone.net/index.php3/stat/4/idpl/5818227/com/xorg-x11-fonts-ISO8859-1-75dpi-7.2-6.fc9.noarch.rpm.html

wget ftp://ftp.is.co.za/mirror/fedora.redhat.com/linux/development/ppc/os/Packages/xorg-x11-fonts-ISO8859-1-75dpi-7.2-6.fc9.noarch.rpm
rpm -ivh xorg*.rpm

Restart X. If things still don't work, try the second remedy:

Remedy 2

Step 1: Backup xorg.conf

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old

Step 2: This is from http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/00e2ee906ebdefbf but I've found that the first 2 steps work for most other programs as well.

yum -y install xorg-x11-xfs-utils xorg-x11-xfs
chkconfig --levels 345 xfs on
cd /etc/X11/fontpath.d/
ln -s /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Fonts/BDF
mathematica-bdf
ln -s /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Fonts/Type1
mathematica-type1
ln -s /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Fonts/TTF
mathematica-ttf
service xfs start
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License