We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose PDF displaying reduced spaces between elements and not matching with the HTML

Hi,

We are generating PDF from HTML using Aspose v21.8 and it is reducing the line break spaces between the content.

Please have a look at the attached PDF and JSFiddle link, the HTML has more spaces while PDF has reduced the line break spaces from it between.

I am also attaching a link to our sample app which you can use to generate the same PDF.

JSFiddle: https://jsfiddle.net/dbo4fanq/

Link to sample app: https://drive.google.com/file/d/1PaoIS6cqusTyJTcIE3b-x7D-GGYgm2Ux/view?usp=sharing

AsposeConsoleApp_637671431911053901.pdf (37.7 KB)

@ovais

We noticed similar output by the API while testing the case in our environment. Therefore, an investigation ticket as PDFNET-50564 has been logged in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Can you confirm about the criticality of this issue at your end?

We will be unable to upgrade to newer version of Aspose since this issue has reduced spaces in many places and resulting in a complete mismatch between our HTML and resulting PDF.

Thank you.

@ovais

We do understand the significance of the issue for you. However, as the issue was logged under free support model and it will be investigated and resolved on a first come first serve basis. We have recorded your concerns and will surely consider them during issue analysis. You will be notified as soon as some significant progress is made towards issue fix. Please spare us some time.

We are sorry for the inconvenience.