Skip to content

Conversation

zhangshine
Copy link
Contributor

According to PDF reference 1.3 - 4.3.2

The line width parameter specifies the thickness of the line used to stroke a path. It is a nonnegative number expressed in user space units;

@zhangshine zhangshine changed the title lineWidth should be nonnegative Fix lineWidth is negative number Apr 7, 2021
@zhangshine zhangshine changed the title Fix lineWidth is negative number Fix: lineWidth is a negative number Apr 7, 2021
Copy link
Collaborator

@HackbrettXXX HackbrettXXX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks good!

@HackbrettXXX HackbrettXXX merged commit cbc85b4 into parallax:master Apr 7, 2021
sthagen added a commit to sthagen/parallax-jsPDF that referenced this pull request Apr 11, 2021
lineWidth should be nonnegative (parallax#3132)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants