-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Shading pattern regressions #6287
Comments
https://issues.apache.org/jira/secure/attachment/12652009/pattern-shading-2-4-idMatrix.pdf Postscript code can be found here: |
https://issues.apache.org/jira/secure/attachment/12658599/LATTICE1.pdf |
https://issues.apache.org/jira/secure/attachment/12658600/LATTICE2.pdf |
Another one: (That file is impossible to render correctly (even Adobe Reader doesn't render it perfectly) and too complex to debug, but it is a sort of success indicator) |
Yeah, you did it! A lot of problems I mentioned have been fixed. The Gouraud shadings (types 4 and 5) work fine now, although only those without a function. If you look at the ECI file, you will see that it is almost perfect, only the first rectangle is missing, which is a type 1 shading (that isn't supported yet by PDF.js, so it seems). I'll open some new issues about stuff unrelated to the regression that I found in the meantime. Re "we must add tests to avoid any new regressions", that is why I mentioned that some of the files (those I created for PDFBox) are Apache licensed, so you can use them. I mentioned the PostScript source because that makes it easy to modify them, and they can be converted to PDF with ghostscript. |
This issue will be closed soon as the patch will be merged. @THausherr Could you create separate issues for the remaining problematic PDFs in this issue that are not related to the regression? Especially for the three that you provided here as they are not tracked elsewhere. Thank you! |
All PDFs in this issue have either been fixed or are now tracked in separate issues. |
You meant to type "now", I guess... |
Indeed I did. Corrected :) |
This is a tracking issue after the excellent triage done by @THausherr on several shading pattern issues. The PDF files below worked after #4192 (with the viewer preview at http://107.21.233.14:8877/a2a6295988a73d2/web/viewer.html), but not anymore with the current master.
Below is a list of files that definitely regressed. I have looked through the entire
4-shading-pattern
category to create this list. We need to determine the exact cause of the issue.I have bisected this with file 1 and found the following:
1e8d70a is the first bad commit
commit 1e8d70a
Author: Yury Delendik [email protected]
Date: Thu Feb 13 08:20:00 2014 -0600
When we find the cause of this problem, we must add tests to avoid any new regressions.
/cc @yurydelendik
The text was updated successfully, but these errors were encountered: