-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Pattern: applying a transform breaks the pattern #17065
Labels
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
@calixteman Any ideas what could be wrong here? |
Yes, it was a bit uneasy to find out what the issue is, but I found out: |
Wow @calixteman I am blown away, thank you so much! |
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Oct 3, 2023
calixteman
added a commit
that referenced
this issue
Oct 3, 2023
Compute correctly the bounding box of a transformed rectangle (fixes #17065)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attach (recommended) or Link to PDF file here: test.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
It should show four distorted rectangles each with a single contiguous color gradient from red to blue to green to purple (the red part is clipped). The file has been tested in the following viewers: Acrobat, mupdf, evince, XPDF, Chrome, SummatraPDF, and the Apple one and works in all of them.
What went wrong? (add screenshot)
For the two rectangles on which a skew & rotation is applied, the pattern does not appear:
Hope this is complete, thanks in advance,
Dherse :)
The text was updated successfully, but these errors were encountered: