Thanks for your posting and using Aspose.Cells for .NET.
We have found that output pdf works fine on windows with the latest version: Aspose.Cells
for .NET v188.8.131.52. We will investigate this issue on Mono/Linux.
We have logged this issue in our database. We will look into it further and resolve this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSNET-41224.
Please also install Microsoft Fonts on your Mono/Linux Machine. It should also fix your problem.
In the latest fix and according to our design/model,
if a user does not install Microsoft Fonts, we will use suitable fonts
that he sets in Font Dir(s) i.e CellHelper.FontDir
If a user does not set the Font
Dir(s) accordingly in his code before conversion, and Aspose.Cells could
not find any font, an exception will be thrown accordingly. Also, if a
user uses “Arial” font in Excel, but only has free.ttf in the Font
Dir(s), we will only use free.ttf to show the text/contents.
I have attached the output pdf (windows) for a reference.C#
string filePath = @“F:\Shak-Data-RW\Downloads\book1.xml”;
Workbook workbook = new Workbook(filePath);
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
//Set the compliance type
pdfSaveOptions.Compliance = Aspose.Cells.Rendering.PdfCompliance.PdfA1b;
workbook.Save(filePath + @".out.pdf", pdfSaveOptions);