Comments (7)
On 7.10.1, using --form 'pdfa=PDF/A-1a' --form 'pdfua=true'
results in a A1 file. leaving off pdfua
also results in an A1 file. Setting pdfua=false
is also an A1 file. So 7.10.1 is always returning an A1 file from this route when requested.
from gotenberg.
The resulting file:
result.pdf
from gotenberg.
Thanks for testing the edge release!
Gotenberg still call LibreOffice in the same manner as before, so I guess something happened upstream. A new LibreOffice version that introduced a bug?
from gotenberg.
LibreOffice versions:
- 7.10.1 =
LibreOffice 7.5.8.2 50(Build:2)
- edge =
LibreOffice 7.6.4.1 60(Build:1)
from gotenberg.
The 7.6 release notes:
Export to PDF v.1.7 by default. core commit e624e (Michael Stahl, allotropia)
Tagged PDF is now produced by default, for improved accessibility. (To further improve your PDF's accessibility, the PDF/UA option is available in the export dialog and will trigger the Accessibility Check tool). tdf#39667 (Samuel Mehrbrodt, allotropia)
Exporting as a hybrid PDF now stores the original ODF document as a PDF compatible file attachment. core commit e052f (TomaΕΎ Vajngerl, Collabora)
Fix glyph size mismatch and overlap when printing of variable fonts. tdf#156151 (Khaled Hosny, TDF)
Fix missing or incorrect overline color when exporting to PDF. tdf#48707 (Khaled Hosny, TDF)
Fix position of CJK emphasis marks when exporting to PDF. tdf#115321 (Khaled Hosny, TDF)
Fix blank text for the default instance of CFF2 variable fonts when exporting to PDF. tdf#155161 (Khaled Hosny, TDF)
Fix underline position of Liberation fonts when exporting to PDF. tdf#154235 (Khaled Hosny, TDF)
I don't see any changes here nor in the linked commits that could explain our issue.
@stumpylog could you try to set pdfua
to true
with Gotenberg 7.10.1
to check if it returns PDF/A-1b
instead of PDF/A-1a
?
from gotenberg.
Looks like an upstream bug, thanks π
from gotenberg.
So it's actually not a bug: https://git.libreoffice.org/core/+/c4b12d06698402984b3ffdbd2c139f261fa35ca1%5E%21.
Long story short, LibreOffice stated that it was producing PDF/A-1a PDF, which was true for simple documents, but most of the time it was actually producing PDF/A-1b. Because of some metadata, some validators were still seeing those as PDF/A-1a compliant, where in fact it was not the case.
See also https://bugs.documentfoundation.org/show_bug.cgi?id=153472.
I guess I have to update the "valid" PDF/A versions handled by Gotenberg.
from gotenberg.
Related Issues (20)
- Not Found error tried every method(docker run and docker compose)
- Feature request - Back page HOT 2
- Convert a url with lazyload image part
- Correct forwarding of HTTP reponse codes HOT 1
- Get page count in recieved PDF after using Merge at "Convert with LibreOffice" HOT 2
- Do no start the API unless all modules are initialized
- panic: cannot create context from nil parent HOT 4
- v7.10.0 and up remove images while converting word document to PDF HOT 3
- issue with host in kubernetes
- Simple and secure setup solution for gotenberg on Render.com
- Synology: LibreOffice struggles to start (Paperless-ngx 2.5.0 + Gotenberg 8.0.3 / 7.10.0 / 7.10.1 / 7.10.2) HOT 34
- Inconsistent Gotenberg Docker Start Failures in PaperlessNGX Setup due to LibreOffice Failure HOT 1
- [BUG] Header and footer resolution changed between Versions 7.9.1 and 7.9.2 HOT 1
- v8.0.0 high cpu usage - reverted to previous version HOT 3
- Keep original filenames in zip output HOT 3
- Screenshot Markdown URL listed as "makdown" HOT 1
- PDF version 1.5 is support? HOT 1
- Is it possible to pass the SinglePageSheets parameter to LibreOffice through gotenberg? HOT 2
- How to generate PDF/A compatible PDF files? HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotenberg.