16.3 Installing Additional Fonts to Improve Document HTML Rendering

Users can view files in an HTML view either from the Filr web client (as described in Viewing the File in Your Web Browser in the Novell Filr 1.1 Web Application User Guide) or from the Filr mobile app. This is often the easiest way for users to view a file in Read-Only mode.

To improve the way fonts are displayed when they are rendered into HTML, you can install additional fonts on your Filr server.

IMPORTANT:The fonts that you apply will get overwritten when you update your Filr system. You must re-apply the fonts as described in this section after you update Filr.

You can upload Microsoft TrueType fonts as well as fonts for viewing Asian characters.

16.3.1 Uploading Microsoft TrueType Fonts to the Filr Server

  1. Log in as root to the Filr command prompt.

  2. Type the following command to navigate to the fonts directory, then press Enter:

    cd /filrinstall/fonts

  3. Install the supported RPM files by typing the following command, then press Enter:

    rpm -ivh *.rpm

    The RPM files are now installed on the Filr server.

  4. Run the script to retrieve the fonts by typing the following command, then press Enter:

    sh fetchmsttfonts-11.1-5.7.10-fetchmsttfonts.sh.txt

    The fonts are downloaded from Sourceforge and installed on your Filr server.

16.3.2 Uploading Chinese Fonts to the Filr Server

  1. Log in as root to the Filr command prompt.

  2. Launch YaST2 control center by typing the following command:

    YaST2

  3. Under System, select Language, then press Enter.

  4. On the Languages page, tab down to the Secondary Languages section, then scroll to and select Traditional Chinese.

  5. Select OK.

  6. Configure a software repository that has access to a SLES 11 server. For example, you can insert a SLES 11 SP3 DVD into the workstation where Filr is running, or point to a URL of a SLES 11 SP3 repository.

    1. In the YaST2 control center, under Software, select Software Repositories.

    2. Select Add, then select the method by which you want to connect to the repository.

      For example, select DVD if you want to insert a SLES 11 SP3 DVD into the workstation.

  7. In the YaST2 control center, under Software, select Software Management.

  8. Search for MozillaFirefox-translations, then install this package.

  9. Verify that the following packages were installed:

    FZFangSong
    FZHeiTi
    FZKaiTi
    FZSongTi
    ttf-arphic-gbsn00lp 
    ttf-arphic-gkai00mp 
    ttf-arphic-ukai 
    ttf-arphic-uming 
    yast2-trans-zh_CN 
    kde3-i18n-zh_CN 
    kde4-l10n-zh_CN 
    libreoffice-help-zh-CN 
    libreoffice-l10n-zh-CN 
    sles-installquick_zh_CN 
    translation-update-zh_CN