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

[pdfwrite] fix circle-drawing bug #1219

Merged
merged 1 commit into from
Aug 31, 2020
Merged

[pdfwrite] fix circle-drawing bug #1219

merged 1 commit into from
Aug 31, 2020

Conversation

josh-hadley
Copy link
Collaborator

@josh-hadley josh-hadley commented Aug 31, 2020

Description

A one-character change to pdfwrite.c that fixes an ancient bug discovered by @bcirc. Thanks to @frankrolf for generating a test font that demonstrates the bug (and is included in the updated test suite). The added test should also increase coverage of pdfwrite.c a tiny bit.

Closes #1218

Checklist:

  • I have followed the Contribution Guidelines
  • I have added test code and data to prove that my code functions correctly
  • I have verified that new and existing tests pass locally with my changes
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (n/a)
  • I have made corresponding changes to the documentation (n/a)

- Fix bug in `drawCircle` as reported in #1218
- Add test case and data for `tx` using `-pdf -1` option to improve test coverage
Copy link
Contributor

@cjchapman cjchapman left a comment

Choose a reason for hiding this comment

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

👍

@josh-hadley josh-hadley merged commit 672910f into develop Aug 31, 2020
@josh-hadley josh-hadley deleted the jh-got-circles branch August 31, 2020 23:04
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