Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Defect: Unexpected behavior when displaying PDF that contains Images #10

Open
RayanLMoon opened this issue Feb 3, 2021 · 6 comments
Open
Labels
bug Something isn't working

Comments

@RayanLMoon
Copy link

There is an unexpected behavior when displaying a PDF file or stream that contains images. The displayer often duplicate or miss place the pdf images with others.

Check the attached GIF for more clarification.
defect

@Dansoftowner
Copy link
Owner

Dansoftowner commented Feb 5, 2021

Hi!

I updated the PDF.js version in v0.7, hopefully that solves the problem.

Best regards

@RayanLMoon
Copy link
Author

Hi,
Thanks for the update!

Unfortunately the problem still exists.

I found out that this defect only happens if there is more than one image per PDF page.

Hopefully you would figure out what's causing this behavior.

Best regards.

@Dansoftowner
Copy link
Owner

Hi,

What version of java/javafx you use?
Maybe updating your javaFX version solves the problem.

@RayanLMoon
Copy link
Author

Hi,

I'm using Java 8, I gave it a try using oracle jdk and Zulu open jdk and both have the same issue.

To make sure, I cloned your repo and changed the Demo loadPdf url to :

https://www.sparkasse-lev.de/content/dam/myif/sk-leverkusen/work/dokumente/SKLev/ruecksetzung_ueber_if-mobile.pdf

and I'm getting the same behavior.

To produce this defect, use the above url and after running the application try to zoom in and out, and the miss behavior will appear.

I have the feeling that this is a javascript issue while loading/converting the pdf file to byte[].

@RayanLMoon
Copy link
Author

Hi @Dansoftowner

Any further progress with this defect?

@Dansoftowner Dansoftowner added the bug Something isn't working label Mar 15, 2021
@RayanLMoon
Copy link
Author

Hi @Dansoftowner

Any further progress with this defect?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants