Free Support Forum - aspose.com

Wrong font size on saving to html

When I had saved to html text with hyperlink, aspose saved it wrong font size.
http://joxi.ru/VrwWW87COld59r
bug.zip (10.8 KB)

> Document doc = new Document("C:\\parleypro\\PAR-7115\\22.docx");
> doc.joinRunsWithSameFormatting();
> doc.save("C:\\parleypro\\PAR-7115\\22.html");

@handmade,

I have ‘Saved As’ your 22.docx document to HTML by using MS Word 2016 (see msw-2016.zip (771 Bytes)). You can see even MS Word 2016 exports font-size:11.0pt; to that Paragraph (see p.MsoNormal style definition). So, this seems to be an expected behavior. If we can help you with anything else, please feel free to ask.