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

[Bug]: Rendering regression after PR 18467 #18894

Closed
Snuffleupagus opened this issue Oct 13, 2024 · 0 comments · Fixed by #18895
Closed

[Bug]: Rendering regression after PR 18467 #18894

Snuffleupagus opened this issue Oct 13, 2024 · 0 comments · Fixed by #18895
Assignees
Labels
core regression release-blocker Blocker for the upcoming release

Comments

@Snuffleupagus
Copy link
Collaborator

Attach (recommended) or Link to PDF file

issue18400.pdf

Web browser and its version

N/A

Operating system and its version

N/A

PDF.js version

Any version after #18467

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

Load the attached PDF document in the viewer.

What is the expected behavior?

That the gray square is visible.

good

What went wrong?

The page is completely blank.

bad

Link to a viewer

No response

Additional context

$ git bisect bad
482994cc040ffa95c70e0fcf644d2d02ec15c351 is the first bad commit
commit 482994cc040ffa95c70e0fcf644d2d02ec15c351
Author: Calixte Denizet <[email protected]>
Date:   Sat Jul 20 14:45:25 2024 +0200

    Use a transparent color when setting fill/stroke colors in a pattern context but with no colorspace

 src/core/evaluator.js         | 46 +++++++++++++++++++++++++++++++++----------
 src/display/canvas.js         | 21 ++++++++++++++------
 src/shared/util.js            |  2 ++
 test/pdfs/issue18466.pdf.link |  1 +
 test/test_manifest.json       |  8 ++++++++
 5 files changed, 62 insertions(+), 16 deletions(-)
 create mode 100644 test/pdfs/issue18466.pdf.link

/cc @calixteman

@Snuffleupagus Snuffleupagus added core regression release-blocker Blocker for the upcoming release labels Oct 13, 2024
@calixteman calixteman self-assigned this Oct 13, 2024
calixteman added a commit to calixteman/pdf.js that referenced this issue Oct 13, 2024
agrahn pushed a commit to agrahn/pdf.js that referenced this issue Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core regression release-blocker Blocker for the upcoming release
Projects
None yet
2 participants