We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Specifying True Type Fonts Location for Word to PDF Rendering on AWS Lambda Context C# .NET

While converting word to pdf ; fonts are missing from the pdf file

As mentioned in here we are trying to set specific fonts

How would work in AWS lambda context , are there any best practices to refer fonts from AWS lambda ? I understand we will have to refer following method to point to correct fonts.

FontSettings.SetFontsFolders(new string[] { @"C:\MyFonts\", @"D:\Misc\Fonts\" }, true);

Another way is to use it from resource folder as part of Java codebase ; What is Aspose.Words recommendation to implement the use case ?


You can use any of the methodologies mentioned under the following heading:

In case the problem still remains, please ZIP and upload your input Word document, Aspose.Words generated PDF file showing the undesired behavior and the Font files used in the Word document here for testing. We will then investigate the issue on our end and provide you more information.