2007年7月6日 星期五

Fonts of wine disappear on CentOS

Install Microsoft's TrueType core fonts

1. Make sure you have the following rpm-packages installed
# rpm-build
# wget
# ttmkfdir
# cabextract

2. Set up an rpm build environment in your home directory by adding the line %_topdir %(echo $HOME)/rpmbuild to your $HOME/.rpmmacros and create the directories $HOME/rpmbuild/BUILD and $HOME/rpmbuild/RPMS/noarch

3.
# Build the binary rpm
rpmbuild -bb msttcorefonts-2.0-1.spec
# Install the newly built rpm (you will need to be root):
rpm -ivh $HOME/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
# Reload the X font server
/sbin/service xfs reload

沒有留言: