Skip to content

[Bug]: \pgfdeclareradialshading didn't show in PDF.js preview? #20851

@Explorer-cc

Description

@Explorer-cc

Attach (recommended) or Link to PDF file

The PDF here shows the question.

In Adobe Reader, it behaved as normal:

Image

While in LaTeX Workshop and the built-in PDF-viewer(that is pdf.js), it can't show the blue shadings:

Image

The code to reproduce the PDF comes from here.

The same as in FireFox:

Image

Is this a bug? Any fix?

Web browser and its version

Firefox v134.0.2

Operating system and its version

Windows 11 Pro 24H2 26100.2894

PDF.js version

I don't know, I was using LaTeX workshop v10.13.1

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

Yes

Is a browser extension

No

Steps to reproduce the problem

Open the PDF, and the blue shading not show.

What is the expected behavior?

blue shading shown.

What went wrong?

blue shading not appeared.

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