-
-
Notifications
You must be signed in to change notification settings - Fork 711
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
What PDF-Versions are supported? #1131
Comments
Not the dev, but wondering, what exactly you need. Is there something crucial in the newer PDF versions (1.6 and 1.7)? |
That’s the good question. Cairo generates 1.5 because it uses features introduced in 1.5, but as PDF is retro-compatible, it’s also valid for 1.6 and 1.7. If you really need to use a more recent version, you can safely change the first line of the PDF. |
We want to create PDF in PDF/UA Format for Universal Accessibility, that is part of Version 1.7. |
Changing the first line is no option for us. We can't find it in the API documentation: |
I’m really sorry, but I don’t get it. If your goal is to generate PDF/UA documents, you definitely are able to edit the PDF, and thus are able to change its first line. If you manually do this with some graphical software, then I understand that this option may not be available, or that it’s an extra step you would like to avoid.
There’s no option, because Cairo (the library we use to generate PDF documents) doesn’t provide one. There are many, many reasons to edit the generated document. Changing the documents versions is one, but we won’t add an option each time someone wants to change something. However, in the current master branch, a |
@IngoSchopf Is there anything else we can do for you? |
Hello,
this project is great, and we really love working with your Program.
Amazing work and quality!
We are using Weasy Print successfully, but only PDF-Version 1.5 (Acrobat 6.x) is created.
What PDF-Versions are supported?
How can we change to a different PDF-Version?
Thank you a lot!
The text was updated successfully, but these errors were encountered: