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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.