I’ve found significant discrepancies in spacing when converting HTML to PDF. Table cells in the PDF document are offset differently compared to the HTML when viewed in browser.
As an example: (PDF on the left, HTML on the right) image.png (150.4 KB)
Note how several elements in the PDF document are pushed toward the edge of the page.
Is there any way around this issue? Thanks in advance.
Sample code and html document:
ConvertTruncated.zip (313.2 KB)
We are looking into this and will get back to you with feedback soon.
Apologies, it seems the issue was on our end. An asynchronous function was being called to adjust the formatting of the page, but the PDF convert was being run before that function had finished. We’ve fixed that issue and everything is running as expected now. Thanks.
It is good to know that your issue has been resolved. Please keep using our APIs and in case you need further assistance, feel free to create a new topic.