Converting docx to pdf looses one of the fonts

Hi, I am using aspose to create an email attachment from a word document to a pdf like so:

Aspose.Words.Reporting.ReportingEngine eng = new Aspose.Words.Reporting.ReportingEngine();
eng.BuildReport(doc, order1, “order”);
saveOptions.FontEmbeddingMode =
Aspose.Words.Saving.PdfFontEmbeddingMode.EmbedNonstandard;
saveOptions.EmbedFullFonts = false;
var docMemStream = new MemoryStream();
doc.Save(docMemStream, saveOptions);

The .docx document uses BentonSans Black and BentonSans Book but somehow the pdf document ends up being all BentonSans Black. I added a WarningCallback and found a lot of DrawingML warnings but among them this one caught my eye: “Font ‘Calibri’ has not been found. Using ‘BentonSans Black’ font instead. Reason: first available font.”

Why does Aspose think that it needs to look for Calibri, when the document in Word clearly states that it is using Benton Book? More importantly: How do I fix or work around it?

Hi there,

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts on the machine where you're converting documents to Pdf. Please refer to the following article:


If you still face problem, please attach your input Word document and standalone console application (source code without compilation errors) here for testing. We will investigate the issue on our side and provide you more information.