Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering PdfAsImages with Different Orientations #415

Open
darksun opened this issue Oct 11, 2024 · 1 comment
Open

Rendering PdfAsImages with Different Orientations #415

darksun opened this issue Oct 11, 2024 · 1 comment

Comments

@darksun
Copy link

darksun commented Oct 11, 2024

Having issues rendering PDFs that are in landscape orientation correctly on generated PDFs. The PDFs are included as a <img src> tag in HTML. Landscaped PDFs will bleed off the page whereas portrait oriented PDFs will respect the container they are in and scale correctly.

Adding the landscaped PDFAsImage in a landscaped rendered PDF results in a issue similar to 315

I created a test case here which attempts to render PDFs (via PDFAsImages) in different orientations.

Could someone help me track down a potential fix or if I'm missing something?

Screenshot 2024-10-10 at 7 57 44 PM
@jjathman-ch
Copy link

If anyone has an idea as to where to get started with this issue we would be happy to contribute a patch as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants