Install libfontconfig1-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libfontconfig1-dev
Description:
generic font configuration library - development
Fontconfig is a font configuration and customization library, which does not depend on the X Window System. It is designed to locate fonts within the system and select them according to requirements specified by applications. . This package contains the static libraries and headers needed for the development of applications using fontconfig.
Homepage: https://www.freedesktop.org/wiki/Software/fontconfig/
Version: 2.12.6-0ubuntu2
Section: libdevel