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

Free Support Forum - aspose.com

The page is not fully displayed after converting HTML to PDF

Hello, I am using aspose.html for java and I am trying to convert html to pdf, but the converted page is not fully displayed, how can I display the rest of the page on the second PDF page?
test.zip (537.2 KB)

@zhangdamiao123

It seems like you are using trial version of the API. Please use a 30-days free temporary license in order to evaluate the API without any limitations. In case you still notice any issue, please feel free to let us know.

Thanks for your reply, but we still have a problem that the height of each line in the converted PDF is not consistent with that of the HTML page. html.png (26.1 KB)
pdf.png (18.5 KB) The two images above show the HTML and converted PDF pages. You can see that the text in each line of the converted PDF page is not vertically centered as it is in the HTML page.

@zhangdamiao123

Could you please share the generated PDF document at your side? We will further investigate the issue and share our feedback with you.