Issue exporting AUTO_FIT_TO_CONTENTS table with vertical cell text orientation to PDF

Extra cell width is added to AUTO_FIT_TO_CONTENTS table cells with vertical text orientation in PDF export.

Code snippet:

Document document = new Document();
DocumentBuilder builder = new DocumentBuilder(document);

builder.insertCell();
builder.write("blabla");
builder.getCellFormat().setOrientation(TextOrientation.DOWNWARD);
builder.getRowFormat().setHeight(30);
builder.endRow();
builder.endTable();

Table table = (Table) document.getChild(com.aspose.words.NodeType.TABLE, 0, true);
table.autoFit(AutoFitBehavior.AUTO_FIT_TO_CONTENTS);

PDF export:

DOCX export:

Aspose.WORDS version: 24.9

@dfinsolutions
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-27994

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.