Package dependency “fontconfig”

On Linux systems you must make sure that the package “fontconfig” is accessible to ImageMaster. Some examples are listed below on how to check if this package is installed. If the package is missing on your system, you must ensure that this is installed before the deployment of the ImageMaster EAR file (see installation step in later section Font package installation).

Quick check – execute a command provided by “fontconfig”

To quickly check if the package is available, try to run one of the commands that is provided by this package like “fc-list”:

[ima_service@linux ~]$ fc-list
/usr/share/fonts/msttcore/candaraz.ttf: Candara:style=Bold Italic
/usr/share/fonts/msttcore/corbeli.ttf: Corbel:style=Italic
/usr/share/fonts/msttcore/timesbd.ttf: Times New Roman:style=Έντονα,Bold
...

If this command cannot be executed, you must install the package.

For example, on Red Hat Linux with Internet access you can install “fontconfig” by executing the yum package manager:

yum install fontconfig

As an alternative, download the package into a custom directory and set the path to this directory via the ImageMaster option: ima.aspose.custom.fonts.directory

Red Hat Enterprise Linux (RHEL) or CentOS – inspect package with “yum”

The command “yum” can provide information about installed packages. Some parts of the command’s output were omitted in the example below:

[ima_service@ima-rhel~]$ yum info fontconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * epel: repo.fedora.md
 * extras: ftp.hosteurope.de
 * updates: mirror.scaleuptech.com
Installed Packages
Name        : fontconfig
...
...
Available Packages
Name        : fontconfig
...

SUSE Linux Enterprise Server (SLES) – inspect package with “zypper”

The command “zypper” can provide information about installed packages.

ima_service@ima-suse:/etc> zypper info fontconfig
Loading repository data...
Reading installed packages...
Information for package fontconfig:
-----------------------------------
Repository     : sles12
Name           : fontconfig
Version        : 2.11.1-7.1
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Support Level  : Level 3
Installed Size : 1.2 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : fontconfig-2.11.1-7.1.src
Summary        : Library for Font Configuration
Description    :
    Fontconfig is a library for configuring and customizing font access. It
    contains two essential modules: the configuration module, which builds
    an internal configuration from XML files, and the matching module,
    which accepts font patterns and returns the nearest matching font.