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

Fix dash implementation to conform to spec #1001

Merged
merged 1 commit into from
Dec 8, 2016
Merged

Fix dash implementation to conform to spec #1001

merged 1 commit into from
Dec 8, 2016

Conversation

gettalong
Copy link
Member

The PDF 1.7 specification says that the dash array can contain zeros but that not all numbers must be zero.

Additionally, a single dash length or any number in a dash array may not be negative.

This fixes #999 which is based on the discussion at e65c244#commitcomment-20067863

The PDF 1.7 specification says that the dash array can contain zeros
but that not all numbers must be zero.

Additionally, a single dash length or any number in a dash array may
not be negative.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error when zero length is provided to dash array
2 participants