Free Support Forum - aspose.com

Aspose.Cells 5.1.3 - Saving Excel to PDF - embedding fonts - how to?

Hello, is it possible with this version of Aspose.Cells to save an Excel to PDF with fonts embedded?


Within Excel, we are able to do a “Save as” and save to PDF. The output PDF includes embedded fonts. But using the Aspose.Cells API to save to PDF does not embed the fonts.

The fonts are Open Type layout fonts. They are on our test server and development environments, and in both cases, after rebooting our machines, the fonts are not included in the generated PDF.

If this is possible, are there specific save approaches we should be following to save the Excel as PDF? Below is how we are saving to PDF:

//Save the file
excel.Save(String.Format(@"""{0}""", fileName),
Aspose.Cells.SaveType.OpenInExcel, FileFormatType.Pdf, HttpContext.Current.Response);

Thanks

Btw, the fonts that we are including in our Excel files include OpenType and PostScript outlines.

Hi,

Thanks for using Aspose.Cells for .NET.

We have logged your issue for investigation in our database with the ticket id: CELLSNET-41131

We will look into your issue and once we resolve it or have some advice/workaround for you, we will let you know asap.