Forum Bugs

Incorrect font config path when AWS Lambda package is deployed as a Lambda Layer

yossarian21
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>
mikeday
Thanks, we will take a look at this.
alfie
Hi yossarian21,

Thanks for noticing this. The zip file will be updated on the next release.