I am adding the below text fragment to a table cell but it is not rendering the new line character. I want to dispaly like
Table of Contents
but is displaying like
TextFragment textFragment = new TextFragment(“Heading 1 \n Table of Contents”);
We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for Java 9.1.0, we have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWJAVA-34267 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.
Please feel free to contact us for any further assistance.
Thanks for your response, but is there any workaround for this.