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

PDF rendering issue (incorrect in FF30; correct in FF24) #5044

Closed
hochhaus opened this issue Jul 14, 2014 · 4 comments
Closed

PDF rendering issue (incorrect in FF30; correct in FF24) #5044

hochhaus opened this issue Jul 14, 2014 · 4 comments
Assignees

Comments

@hochhaus
Copy link

I have an example PDF which renders correctly in FF24, but incorrectly in FF30.

http://hochhaus.us/HeadBodyFoot.pdf (attached HeadBodyFoot.pdf )

This PDF contains three logical entities (a header, a body and a footer). When rendered in Adobe Reader, Chrome's built in reader, PDF.js in FF24 and Apple Preview all three entities are visible. For example:

correct

However, when rendered from PDF.js in FF30 only the footer is visible. For example:

incorrect

Without knowing anything about PDF.js my guess would be that this has something to do with how different "regions" of the PDF are cropped. Is this the type of issue that the PDF.js team is interested in resolving? If so, what can I do to provide more helpful debugging information?

@Snuffleupagus
Copy link
Collaborator

This is a regression from PR #4161.

@yurydelendik yurydelendik self-assigned this Jul 21, 2014
@yurydelendik yurydelendik added this to the 2014 Q3 milestone Jul 22, 2014
@yurydelendik
Copy link
Contributor

Looking at the operations performed, looks like PDF.js is confused somewhere with lots of matrix transformations (flipping axis-Y):

screen shot 2014-07-23 at 9 51 14 am

I was looking at e.g. "Body"-text layer and its mask image, they were flipped on axis-Y, so their composition produced empty image.

@brendandahl brendandahl modified the milestones: 2014 Q3, 2014 Q4 Oct 2, 2014
@brendandahl brendandahl modified the milestones: 2014 Q4, 2015 Q1 Jan 8, 2015
@timvandermeij timvandermeij removed this from the 2015 Q1 milestone Apr 29, 2015
@yurydelendik
Copy link
Contributor

@hochhaus are you the author of the HeadBodyFoot.pdf and can we use it in our test suite?

@hochhaus
Copy link
Author

hochhaus commented Dec 4, 2015

@yurydelendik Yes, I am the author. Yes, you can use it in the test suite. Thanks for your work on this issue.

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

5 participants