Aspose.PDF splits html input to 2 lines when the input contains a closing bracket ')'e

We use Aspose.PDF for .Net to convert html forms to PDF. When the form contains a bracket ‘)’, the output is split to 2 lines at that location. I could reproduce the issue with newest Aspose.PDF for .Net 18.7.

To reproduce the problem, update Aspose.PDF package, then compile and run attached ConsoleAsposePDFExample.sln. It converts the included example.html to HTML2PDF_out.pdf. After the program ran, compare bin\Debug\example.htl and bin\Debug\HTML2PDF_out.pdf. Note the difference in the line containing the ‘)’:

Edit:
As I seem to be unable to upload my example code to the topic, please find it here:
https://support.decos.nl/berend/ConsoleAsposePDFExample.zip

This screenshot shows the lay-out problem::
https://support.decos.nl/berend/20180712aspose.png

Best regards.

Gertjaap

@gertjaap

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-45060 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.