Nethence Documentation Lab Webmail Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

MS Truetype fonts (msttcorefonts)
 
 
Prepare
Make sure you have those packages installed,
rpm -qa | grep rpmbuild
rpm -qa | grep ttmkfdir
 
Install cabextract from EPEL,
http://download.fedora.redhat.com/pub/epel/5/i386/repoview/cabextract.html
rpm -ivh cabextract-*.rpm
 
Fetch the latest msttcorefonts .spec from corefonts's Home,
http://corefonts.sf.net
 
 
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),
mirrors="ovh+heanet+switch"
mirror_count=3
 
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
 
 
References
http://corefonts.sf.net
http://daemonscorner.blogspot.com/
 

Last update: Dec 28, 2008