question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PDF document gets cut-off on live server

See original GitHub issue

I use a <table> to render out a report in PDF. The out PDF gets successfully uploaded to AWS S3 storage when tested out locally. But the code when deployed to AWS doesn’t yield the same result. The generated PDF is getting Chopped off midway on the horizontal axis. image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ivex001commented, Jul 26, 2021

@j45t7 @ivex001 Reduce the font-size in your html template as <=12px.

Indeed was a problem of font size. Mine was set to “em” and i changed them to “12px” and “14px” and now it’s working. Thank you @dmchandru

1reaction
dmchandrucommented, Jul 26, 2021

@j45t7 @ivex001 Reduce the font-size in your html template as <=12px.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot viewing PDF files on the web - Adobe Support
Try to view a PDF on your hard drive · In your web browser, do one of the following: Mac OS: Choose File...
Read more >
Display gets cut off when exporting Live Script to PDF
The goal here is to resize the exported document to fit the entire display. Here are three ways to achieve this: · 1....
Read more >
vscode live server extension cuts off JavaScript code
I am trying to make a online booking system. And I am using vscode live server for live web for testing. I noticed...
Read more >
Best practices for uploading PDFs and resolving common issues
To avoid errors during the optimization of these PDF files, the general rule is to keep your files as simple as possible.
Read more >
Save a diagram as an image or a PDF file - Microsoft Support
Try it! When you want to share a diagram with people who don't have Visio, publish a diagram, or prevent reviewers from making...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found