Loading fonts from s3 location during excel to pdf conversion using aspose.cells

Hi,

We are trying to load fonts from S3 bucket location while converting excel files to PDF in AWS lambda.

How can we load fonts from S3 using Aspose.Cells.FontConfigs.SetFontFolder method?

Setting the font path as S3 location did not work in this case

Thanks in advance
Ramya

Hi @Ramyarao
Aspose.Cells provides this method:

FontConfigs.SetFontSources(new FontSourceBase[] { new MemoryFontSource(FontFileData1), new MemoryFontSource(FontFileData2) });

Please get FontFileData1, FontFileData2… from S3 bucket as Byte Data first:
c# - How to download a file as Byte Array from AWS S3 Storage? - Stack Overflow