Sub and Sup html insertion results in the wrong font size

Inserting and html into a body that has Calibri 11pt Normal style ends up being Calibri 15pt. The word is then much larger than the equivalent superscript via Word or the size it appears in a browser.

var doc = new Aspose.Words.Document(@“c:\temp\SubSuper.docx”);
var builder = new Aspose.Words.DocumentBuilder(doc);

builder.MoveTo(doc.Range.Bookmarks[“insert”].BookmarkStart);
builder.InsertHtml(@“

Every second word as superscript

Every second word as subscript

”, true);

doc.Save(@“c:\temp\after.docx”);

Hi Phillip,

Thanks for your inquiry. I
have tested the scenario and have managed to reproduce the same issue at
my side. For the sake of correction, I have logged this problem in our
issue tracking system as WORDSNET-10945. I have linked this forum thread
to the same issue and you will be notified via this forum thread once
this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-10945) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.