this is obsolete doc -- see instead

MS Truetype fonts (msttcorefonts) 




Make sure you have those packages installed, 

rpm -qa | grep rpmbuild
rpm -qa | grep ttmkfdir


Install cabextract from EPEL,
rpm -ivh cabextract-*.rpm


Fetch the latest msttcorefonts .spec from corefonts's Home,



Build & install 

Prepare your build environment, 

echo '%_topdir %(echo $HOME)/rpmbuild' > $HOME/.rpmmacros
mkdir -p $HOME/rpmbuild/BUILD
mkdir -p $HOME/rpmbuild/RPMS/noarch


Tweak the .specs to point to relevant SF mirrors (vi msttcorefonts-*.spec), 



Build the binary, install it and restart the X font server, 

rpmbuild -bb msttcorefonts-2.0-1.spec
rpm -ivh $HOME/rpmbuild/RPMS/noarch/msttcorefonts-*.rpm
service xfs restart


Fix the path for phpsyslog, 

mkdir /usr/share/fonts/truetype
ln -s ../msttcorefonts /usr/share/fonts/truetype


Note. you won't be able to see those fonts with that command, 

#xlsfonts | less