Upgrading Aspose to 17.9 causes default font to change when using NodeImporter


After upgrading aspose from 16.12 to 17.9, when using NodeImporter to insert the contents of one document into another document the output document has its default font changed to Calibri. In the case of the documents in the attached zip file, the document to be inserted has a default font of Verdana and the target document has a default font of Arial. Previously in 16.12 the target document kept the default font of Arial after the insert was complete. The attached file includes code to reproduce the issue.

aspose-ticket.zip (5.9 KB)



Thanks for your inquiry. We have improved font substitution mechanism in Aspose.Words for .NET 17.3. Please check Public API and Backward Incompatible changes section in Release notes of Aspose.Words for .NET 17.3.

Please note that now font substitution mechanism will override the FontSettings.DefaultFontName in cases when FontInfo for the missing font is available in the document. FontSettings.DefaultFontName will be used only in cases when there are no FontInfo for the missing font. So you are getting different results in latest version as compare to 16.12.