You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that the line thickness is negative when it should be a positive number or zero:
8.4.3.2 Line Width
The line width parameter specifies the thickness of the line used to stroke a path. It shall be a non-negative
number expressed in user space units; ...
Thanks for the answer.
The problem is that we have a lot of PDF already done in the years and we cannot edit the files.
Is there a way to change this behaviour?
For example: if the there is a negative value change it with a default one?
Attach (recommended) or Link to PDF file
Pagine estratte senza titolo.pdf
Web browser and its version
Chrome 134.0.6998.35
Operating system and its version
Windows 10 Pro 22H2
PDF.js version
4.10.38
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
In the online demo page load this PDF and you can see the problem.
What is the expected behavior?
The line thickness should be as on the original pdf
What went wrong?
The thickness line is wrong.
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: