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

Add sources for PDF test files #21

Open
fladi opened this issue Jul 26, 2018 · 1 comment
Open

Add sources for PDF test files #21

fladi opened this issue Jul 26, 2018 · 1 comment
Assignees

Comments

@fladi
Copy link

fladi commented Jul 26, 2018

Thanks for providing this great module! I would like to package it for the Debian archive and there is a minor issue when running the tests during package build: Debian packages should have the source of all its files in their modifiable format. For PDF this is usually something like a TeX file or similar. Would you be able to provide those formats along with the PDFs for the tests in your repo? Otherwise I'll have to exclude the tests from the Debian package which is not the best solution I guess.

@jalan
Copy link
Owner

jalan commented Jul 27, 2018

The current PDFs came from all different sources. It may take some time to come up with tex equivalents for each one, but I will look into it.

I see two potential difficulties:

  • the corrupt.pdf and corrupt_page.pdf files were sort of handmade, since they each need to be corrupt in a certain way to satisfy the tests
  • both_passwords.pdf and user_password.pdf are password-locked, and I'm not sure if tex can do that. Might require another tool for that step

Thanks!

@jalan jalan self-assigned this Jul 27, 2018
@jalan jalan changed the title Source for PDF test files? Add sources for PDF test files Jul 27, 2018
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

No branches or pull requests

2 participants