Problems with display inline-block

I’m having trouble with converting an HTML file to PDF when the html file contains elements with display: inline-block. It seems like if there are to many inline-block elements following each other the converter doesn’t know when to go to the next line.


Could someone explain why this is happening? Am I not setting the page size correctly in the code and that’s why this is occurring? I attached the program, input, and output files.

Hi Marshall,


<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>Thanks
for using our API’s.<o:p></o:p>

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-38442. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.

The issues you have found earlier (filed as PDFNET-38442) have been fixed in Aspose.PDF for .NET 22.8.