Word to html: font type: Calibri(body)

Hi,
I converted word file using Aspose and got html as below. font type (Calibri(body) exist in body tag So is there any configuration to keep font type in

instead of

Strange

@belal2000

Could you please ZIP and attach your input Word document, problematic and expected output HTML here for testing? We will investigate the issue and provide you more information on it.

testing.zip (10.2 KB)

@belal2000

You are facing the expected behavior of Aspose.Words. Starting from the 20.8 version, Aspose.Words writes default “font-size” and “font-family” values to <body> when saving a HTML document with inline CSS.

Yes it is. Can I change that behavior to be as WhatIExpect.html?

@belal2000

Unfortunately, no. Aspose.Words does not export default style to each paragraph tag. It is better to export default font in body tag instead of each paragraph.