Successfully!

Error!

Font Extension Plugin

  • Last update:  2022-01-14
  • I. Version

    Designer versionJAR packagePlugin version
    10.0 & 9.0 & 8.02016-02-16V1.0.2

    II. Description

    Some reports designed on Windows system and previewed in Linux system may cause incorrect calculation of row height and column width, misplaced fonts for export and printing, etc. This is due to the lack of the corresponding font used in the report under Linux system. Use this plugin to extend server fonts, which can solve the above problems very well.

    The plugin comes with Arial(the font package is SimSun.ttc ). If you want to use other fonts, you need to manually expand. The manual expansion method will be explained in detail below.

    III. Plugin introduction

    1. Plugin installation

    Click to download the plugin: 

    font expansion plugin.zip

    For the installation method of the designer plugin, refer to the designer plugin management

    For the method of installing plugins on the server, please refer to Server Plugin Management

    After installation, it will go to the font package in the plugin first, and then go to the server. In this way, as long as there are enough rich font packages built in, all the problems caused by missing fonts can be solved.

    Note: At present, this plugin only has built-in Arial (the font package is SimSun.ttc), because the most common problem now is the lack of Arial under Linux. If you want to add other fonts, please refer to the manual expansion instructions below.


    2. Manually expanding fonts

    If you need to add other fonts, you need to manually expand, the extension method is as follows:

    1) If the font file to be extended is a Chinese name, you need to create a new directory class\com\fr\plugin\fontprovider\resource under the jar package same level directory %FR_HOME%\plugins\plugin-com.fr.plugin.fontprovider-1.0.2 in the plugin installation path, and then put the font package in this directory.

    1.png

    2) If the font file to be extended is an English name, you can directly put the font file in fr-plugin-fontprovider-1.0.2.jar under %FR_HOME%\plugins\plugin-com.fr.plugin.fontprovider-1.0.2in the jar package, or you can put it in the classes\com\fr\plugin\fontprovider\resource directory as the Chinese font.

    2.png


    Attachment List


    Theme: Deployment and Integration
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback