The AWS Lambda package provided by Prince does not work when the ZIP file is deployed as a lambda layer. The
<dir>
path(s) do not cover the location where AWS unpackages layers. They are put in /opt instead of /var/task/fonts, so the /etc/fontconfig/fonts.conf file needs to be updated to include the /opt path:<fontconfig>
<dir>/var/task/fonts/</dir>
<dir>/opt/fonts</dir>
<cachedir>/tmp/fonts-cache/</cachedir>
<config></config>
</fontconfig>