Skip to content

[Bug]: Unexpected yellow rectangle artifacts around components in specific PDF schematic #20914

@JacobSayatovic

Description

@JacobSayatovic

Attach (recommended) or Link to PDF file

SiemensTest.PDF

Web browser and its version

Google Chrome - 146.0.7680.80 (tested on earlier versions also)

Operating system and its version

OS Name Microsoft Windows 11 Enterprise (Version 10.0.22631 Build 22631)

PDF.js version

v5.5.207

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

Yes

Is a browser extension

No

Steps to reproduce the problem

Open the attached PDF (SiemensTest.PDF) in any pdf.js viewer.
Zoom in around the schematic blocks.
Observe yellow rectangles behind certain components.

What is the expected behavior?

No yellow rectangles; components render cleanly as in standard PDF viewers.

Image

What went wrong?

Opening the attached PDF in pdf.js produces unexpected yellow rectangular backgrounds behind certain schematic elements. These rectangles should not be visible and do not appear in other PDF viewers (Adobe Acrobat, Edge, etc.).

The issue is most noticeable around connector‑like blocks in the diagram. The yellow fill appears to be an internal vector rectangle that pdf.js incorrectly renders as visible.

Image

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions