Prizm Content Connect
How to Install Microsoft Fonts on Linux
Send Feedback
User Guides > PCC with Legacy Services (Proxy Server) > How To's for PCC with Legacy Services (Proxy Server) > How To's - for the Imaging Service > How to Install Microsoft Fonts on Linux

Glossary Item Box

Installation of Microsoft Fonts

This guide explains how to install the following Microsoft fonts on Linux: Arial, Comic Sans MS, Courier New, Georgia, Impact, Times New Roman, Trebuchet MS, Webdings, Verdana, Wingdings, Tahoma, Lucida, and Calibri.  

An additional section below details the installation of Chinese, Japanese, Korean and Indic specific fonts.

Red Hat / Fedora (CentOS) Linux Distributions 

1 - Install mscorefonts (for example, Arial, Comic Sans MS…) 

Install tools:

Example Copy Code
# yum install rpm-build
# yum install ttmkfdir
# yum install xfs
# yum install chkfontpath

The latter two commands are not required when installing to the newer systems (CentOS 6.* / Redhat 6.*)

Install CABExtract tool:

Example Copy Code
# yum install cabextract

If above fails, you may use following alternative commands for CABExtract tool installation:

Example Copy Code
# wget http://centos.karan.org/el4/extras/stable/i386/RPMS/cabextract-1.1-2.i386.rpm
# rpm -ihv cabextract-1.1-2.i386.rpm

For a 64-bit system use: http://centos.karan.org/el4/extras/stable/x86_64/RPMS/cabextract-1.1-2.x86_64.rpm.

Install MSTTCoreFonts:

Example Copy Code
# wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
# rpmbuild -ba msttcorefonts-2.5-1.spec

If above rpmbuild command is successfull it writes few lines before the end the messages similar to:

Example Copy Code
Wrote: /usr/src/redhat/SRPMS/msttcorefonts-2.5-1.src.rpm
Wrote: /usr/src/redhat/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm

Check for the path where msttcorefonts-2.5-1.noarch.rpm is located as the result of rpmbuild command above. Use that path in the next command:

Example Copy Code
# yum localinstall --nogpgcheck /usr/src/redhat/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm

The command above should finish with the message similar to:

Example Copy Code
Installed:
  msttcorefonts.noarch 0:2.5-1

2 - Install Vista and Microsoft Office Fonts (for example, Tahoma, Calibri…)

To install the fonts you need to download Microsoft PowerPoint Viewer 2007 from this location:

Using cabextract utility only the specific ppviewer.cab package will be extracted from the file PowerPointViewer.exe. The file contains Vista and Microsoft Office fonts that will be used for the local installation:

Example Copy Code
# cabextract -F ppviewer.cab PowerPointViewer.exe
# mkdir /usr/share/fonts/ppt
# cabextract -F '*.TT?' -d /usr/share/fonts/ppt ppviewer.cab

3 - Clear Fonts Cache

Example Copy Code
# fc-cache -fv

4 - Restart the Prizm Service

Example Copy Code
# /usr/share/prizm/scripts/proxyserver.sh restart

Debian (Ubuntu) Linux Distributions 

1 - Install mscorefonts (for example, Arial, Comic Sans MS…)

Example Copy Code
# sudo apt-get -y install msttcorefonts

2 - Install Vista & Microsoft Office Fonts (for example, Tahoma, Calibri…)

To install the fonts you need to download Microsoft PowerPoint Viewer 2007 from this location:

Using cabextract utility only the specific ppviewer.cab package will be extracted from the file PowerPointViewer.exe. The file contains Vista and Microsoft Office fonts that will be used for the local installation:

Example Copy Code
# sudo apt-get install cabextract
# sudo cabextract -F ppviewer.cab PowerPointViewer.exe
# sudo mkdir /usr/share/fonts/ppt
# sudo cabextract -F '*.TT?' -d /usr/share/fonts/ppt ppviewer.cab

3 - Clear Fonts Cache

Example Copy Code
# sudo fc-cache -fv

4 - Restart the Prizm Service

Example Copy Code
# sudo /usr/share/prizm/scripts/proxyserver.sh restart

Installation of Chinese, Japanese, Korean, Indic Specific Fonts  

Red Hat / Fedora (CentOS) Linux Distributions 

1 - Install Fonts

Example Copy Code
# yum install fonts-chinese
# yum install fonts-japanese
# yum install fonts-korean
# yum install fonts-kannada
# yum install fonts-hindi

Follow this link for other Indic fonts: http://en.wikipedia.org/wiki/Help:Multilingual_support_%28Indic%29#Fedora.

2 - Clear Fonts Cache

Example Copy Code
# fc-cache -fv

3 - Restart the Prizm Service

Example Copy Code
# /usr/share/prizm/scripts/proxyserver.sh restart

Debian (Ubuntu) Linux Distributions 

1 - Install Necessary Tools

Example Copy Code
# sudo apt-get -y update
# sudo apt-get -y install python-software-properties
# sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
# sudo apt-get -y update

2 - Install Fonts: Chinese (traditional, simplified), Korean, Japanese, Indic

Example Copy Code
# sudo apt-get -y install ttf-arphic-ukai
# sudo apt-get -y install ttf-arphic-uming
# sudo apt-get -y install ttf-arphic-gbsn00lp
# sudo apt-get -y install ttf-arphic-bkai00mp
# sudo apt-get -y install ttf-arphic-bsmi00lp
# sudo apt-get -y install ttf-arphic-gkai00mp
# sudo apt-get -y install ttf-wqy-zenhei
# sudo apt-get -y install ttf-sazanami-mincho
# sudo apt-get -y install ttf-sazanami-gothic
# sudo apt-get -y install ttf-unfonts-core
# sudo apt-get -y install ttf-unfonts-extra
# sudo apt-get -y install ttf-unfonts
# sudo apt-get -y install ttf-takao
# sudo apt-get -y install ttf-kochi-gothic
# sudo apt-get -y install ttf-kochi-mincho
# sudo apt-get -y install ttf-baekmuk
# sudo apt-get -y install ttf-indic-fonts
# sudo apt-get -y install ttf-tmuni
# sudo apt-get -y install ttf-dzongkha
# sudo apt-get -y install ttf-khmeros
# sudo apt-get -y install ttf-jura
# sudo apt-get -y install ttf-sinhala-lklug
# sudo apt-get -y install ttf-sil-padauk
 

3 - Clear Fonts Cache

Example Copy Code
# sudo fc-cache -fv

4 - Restart the Prizm Service

Example Copy Code
# sudo /usr/share/prizm/scripts/proxyserver.sh restart

©2013. Accusoft Corporation. All Rights Reserved.