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

Free Support Forum - aspose.com

Different font is used converting excel to pdf (2/3)


converting the provided Excel-File, the font Arial-Bold is used, instead of Arial (you can find the string “Arial-Bold” in the pdf-file). Could you please check?
I use Cells and this code:

string strFile = @“C:_Temp\Aspose_Excel2Pdf\Daten\mod.xlsx”;
string sInFile = strFile;
string sOutFile = strFile + “.pdf”;

Aspose.Cells.License cLic = new Aspose.Cells.License();
Workbook workbook = new Workbook(sInFile);
Aspose.Cells.Rendering.ImageOrPrintOptions saveOptionsCell = new Aspose.Cells.Rendering.ImageOrPrintOptions();
saveOptionsCell.SaveFormat = Aspose.Cells.SaveFormat.Pdf;
workbook.Save(sOutFile, Aspose.Cells.SaveFormat.Pdf);

Kind regards,

Hi Oliver,

Thank you for contacting Aspose support.

We have evaluated your presented scenario on our end while using the latest version of Aspose.Cells for .NET, and we believe that the correct fonts are used to render the text in resultant PDF file. You may check this by viewing the embedded font list through the PDF properties, you will notice that Arial-BoldMT is embedded in the PDF file. If you are comparing the PDF files generated with MS Office applications against the Aspose.Cells API, then you should know that Aspose.Cells behave differently while embedding fonts in the resultant PDF because Aspose.Cells API uses CID fonts.

If you meant something else, please elaborate your concerns further by providing us the snapshot(s) highlighting the problematic area(s).


thank you for your investigation. I think you are right, the font is correct.

We can regard this incident as solved.

Kind regards


Hi Oliver,

Thank you for the confirmation on this. Please feel free to write back in case you need our further assistance with Aspose APIs.