Tania Sánchez

Results 4 comments of Tania Sánchez

I solved this issue following the steps of @jeff-shep but then my pdf was generated without any text so I had to change the content of fonts.config ``` /var/task/fonts/ /tmp/fonts-cache/...

@anupkawtia I copied the fonts on my root project inside a directory named fonts including config file.

@anupkawtia All the .so files are copied on my project root

@anupkawtia I pointed my FONTCONFIG_PATH to my fonts directory inside my project root Try this: `process.env['FONTCONFIG_PATH'] = path.join(process.env['LAMBDA_TASK_ROOT'], 'fonts');` or `process.env['FONTCONFIG_PATH'] = path.resolve(__dirname, "fonts");`