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

Compact write-mode and ISO PDF #15

Open
jsonn opened this issue Dec 14, 2023 · 0 comments
Open

Compact write-mode and ISO PDF #15

jsonn opened this issue Dec 14, 2023 · 0 comments

Comments

@jsonn
Copy link

jsonn commented Dec 14, 2023

While verifying PDF-A compliance of documents, I stumbled across PoDoFo's default output mode violating the ISO specs. The VeraPDF rule with reference is: https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts-2-and-3-rules#rule-619-1

The code in question is:

if( (eWriteMode & ePdfWriteMode_Clean) == ePdfWriteMode_Clean )

The easiest solution would be to just drop the conditional and the size impact should be pretty small.

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

1 participant