PDF export splits text in a cell when auto fit is enabled

Hello,

I have a .docx file that has two tables, both have auto fit enabled. When exporting to PDF cells that have preferred width set to 1%, gets split into new line.

Screenshot from word:

Screenshot from exported PDF:

The issue is not present when there are no borders on the affected cells from left or right or when border line width is set to 2, 2.5 or 3. (Currently it is 2.25)

Also the issue is not present if the font used is Times new roman (currently it is Calibri), or font size is bigger than 14. (Currently 11)

Code used to export to PDF:

Document doc1 = new Document(new FileInputStream(new File("path/to/text split.docx")));
doc1.save("exported.pdf");

Attaching the docx file and pdf:
text split.docx (10.3 KB)
exported.pdf (14.7 KB)

@ANDREA.FARRIS
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26234

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-26234) have been fixed in this Aspose.Words for Java 23.12 update.

The issues you have found earlier (filed as WORDSNET-26249) have been fixed in this Aspose.Words for .NET 24.5 update also available on NuGet.