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

Free Support Forum - aspose.com

Convert excel to pdf Font Problem

Hello Community, I have a problem with converting excel to pdf.
(We are using Apose version 21.9.0.0)
for example:
Workbook ws = new Workbook();
ws.Save(“FileError.pdf”,Apose.Cells.SaveFormat.Pdf);
-------fileerror.7z (8.0 KB)

@MTCoNan,

Thanks for the template file.

I did test your scenario/case using the following sample code and your file with latest version/fix Aspose.Cells for .NET v22.8. I found the commas are touching the chars in the header/top text/title.
e.g.
Sample code:

Workbook ws = new Workbook("e:\\test2\\fileerror.xlsx");
ws.Save("e:\\test2\\fileerror.pdf", SaveFormat.Pdf);

See the comparison screenshot for your reference.
sc_shot1.png (65.9 KB)

Are you pointing to this issue as per the screenshot? Could you please share a screenshot to highlight the issue, so we are on the same page and could log appropriate ticket into our database to figure your issue out soon.

1 Like