Install fonts on Linux and AIX

Top Previous Topic Next Topic  Print this topic

This section offers information on how to install and configure fonts on Linux platform in order to be used by XF Ultrascale.

 

By default, on Linux platform, only Adobe Standard Fonts will be installed (Times, Helvetica and Courier with their bold and italic versions). However, the server is able to handle all the font technologies that are available on Windows (True Type, Open Type, Type 1), provided that they are installed correctly.

 

Here are the steps to install "Times New Roman" (which is an Open Type font)  and it's bold version on Linux, by copying it from a Windows machine:

 

1. From C:\Windows\Fonts\Times New Roman folder, the "Times New Roman Regular" and "Times New Roman Bold" font files must be copied to the Linux folder /tmp/

 

2. The Linux fonts configuration file must be edited by adding the following lines to /opt/Ecrion/Common/Config/Fonts.config:

 

 

       MapFont:TIMES NEW ROMAN=/tmp/times.ttf

       MapFont:TIMES NEW ROMAN-BOLD=/tmp/timesbd.ttf

 

 

The general line that must be added to the .config file, is as follows:

 

 

       MapFont:<VALUE>=path to the font file

 

 

Note:

·The font's "value" must be uppercase.

 

3. The service must be restarted using the command:

 

 

       /etc/init.d/ultrascaled restart

 

 

The "Times New Roman" font is now installed in Ultrascale and can be used in the same manner as it is used on Windows.

 

The steps above can also be used to install ant type of fonts. Known valid extension for font files are:

 

.ttf - True Type Font Files

.otf - Open Type Font Files

.ttc - True Type Collection Font Files

.afm and .pfm- Type 1 font metrics files.

 

Note:

·Type 1 fonts will require the presence of a .pfb (font binary file) in the same folder as the .afm or .pfm files (and with the same name as these).
·All the information regarding the installation of fonts on Linux applies to AIX.