I am having a problem with the font not being correct when inserting HTML into Aspose Words.
All the text inserted renders correctly except for the numbers in an ordered list . I am using Calibri which is fine but the font for the numbers in the ordered list are rendered in a Serif font, which is incorrect.
This is the code that I am using to insert the html into the document.
builder.Document.NodeChangingCallback = new HandleNodeFont("Calibri", 10.0);
builder.InsertHtml(strHTML);
builder.Document.NodeChangingCallback = null;
Please advise as to what I am missing to correct this issue.
Thanks for your inquiry. Could you please attach your Html and complete code here for testing? I will investigate the issue on my side and provide you more information.