I’m using Apose.Words and Aspose.PDF for C#.
I have a project that converts a bunch of Word documents to PDFs, and then attempts to concatenate those PDFs into a single document. It works fine on my local Windows box, but when I deploy to AWs and try to run the Concatenation, I get:
Unexpected font parsing exception —> System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/usr/share/fonts/truetype/msttcorefonts’.
I’ve been researching all night and am at a dead end. How do I correct this so I can run this function in the AWS Lambda Unbuntu environment?
I can give you access to the GitHub repo hosting the C# Lambda function, the code is short and straightforward.