Text is table is wrapping automatically

Hi,

The table first row is not wrapped but next rows got wrapped when converted to pdf when the font properties are made unhidden.

var doc = new Aspose.Words.Document("test.docx");
doc.Save("test.pdf", Aspose.Words.SaveFormat.Pdf);

text-automatically-wrapping-from-second-row.zip (20.7 KB)

Regards,

@ServerSide527 ‘Frutiger LT Std’ font used in your document is not available on my side. Could you please attach it here for testing?

The fonts are required to build document layout. If Aspose.Words cannot find the font used in the document, the font is substituted . This might lead into fonts mismatch and document layout differences due to the different fonts metrics. You can implement IWarningCallback to get notifications when font substitution is performed.
Please see our documentation to learn where Aspose.Words looks for fonts:
https://docs.aspose.com/words/net/specifying-truetype-fonts-location/

Thanks for the reply. You can use font substitution to calibri etc. I tried with Calibri and still reproduceable.

Regards,

@ServerSide527
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-27613

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.