We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font is changed after DOCX to HTML conversion using .NET

Hi, when converting docx to html I see few issues and I would like to find out how I can resolve them:
When converting a table the alignment of the text inside the tables is not converted properly. Here is an example:
Original table:
image.png (20.5 KB)

Converted table:
image.png (9.2 KB)

Second issue is too much new rows. Instead of one new line(enter) we have few. Original:
image.png (14.9 KB)

And here how it looks in the converted html file:
image.png (12.9 KB)

Third issue - the font size is not converted well. In the original document we have text in bigger font size(22):
image.png (6.1 KB)
In the converted html it looks like this:
image.png (2.5 KB)

Here the links to 2 files:
original docx file:

converted html file:

thanks :slight_smile:

@dimager

We have tested the scenario using the latest version of Aspose.Words for .NET 20.9 and have not found the shared issue. So, please use Aspose.Words for .NET 20.9. We have attached the output HTML with this post for your kind reference. Docs.zip (10.0 KB)