Is the gateway running a headless OS? If it’s Debian/Ubuntu, install the fontconfig package.
fontconfig