| Summary: | Export to PDF/A-1a is not PDF/A conformant | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | jan.prochaska |
| Component: | LibreOffice | Assignee: | Jan-Marek Glogowski <glogow> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | buzea.bogdan |
| Priority: | medium | Keywords: | bibisected, regression |
| Version: | 7.0.1.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=136923 | ||
| Whiteboard: | target:7.1.0 target:7.0.2 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 103378 | ||
| Attachments: |
Input PDF (not a PDF/A-1a)
Output from version 6.4.6 (is really a PDF/A-1a) Output from version 7.0.1 (is claimed as PDF/A-1a, but in fact isn't due to the error in structure) |
||
|
Description
jan.prochaska
2020-09-16 09:56:53 UTC
Created attachment 165563 [details]
Output from version 6.4.6 (is really a PDF/A-1a)
Created attachment 165564 [details]
Output from version 7.0.1 (is claimed as PDF/A-1a, but in fact isn't due to the error in structure)
Simmary: Libre office 7.0.1 is not really producing PDF/A documents. Steps to Reproduce: We use the uno interface on a localhost socket with following filterparam filterParam.Name = "SelectPdfVersion"; filterParam.Value = Integer.valueOf(1); // 0 = PDF 1.4 (default selection). 1 = PDF/A-1 (ISO 19005-1:2005) filterParams.add(filterParam); as we have discovered later, the PDF/A-1a is not an option on 7.0.1 LibreOffice GUI anymore (so I do not know if param value 1 is still valid), but the the behaviour is reproducible via GUI as well: 1. Open the attached PDF in LibreOffice 2. Choose File -> Export as PDF with PDF/A checked (in the new version we've tried PDF/A-1b. Actual Results: PDF is produced and metadata claim PDF/A conformance level/profile. In fact there is a problem with the structure (pls. see first post). Expected Results: The PDF produced is really a PDF/A, passing validation checks. Right now the 7.0.1 fails, the 6.4.6 (and earlier) seems to do fine. Reproducible: Always Regression from commit commit d016e052ddf30649ad9b729b59134ce1e90a0263 pdf: extract XMP metadata writing and use XmlWriter Pending patch: https://gerrit.libreoffice.org/c/core/+/102888 Would be nice to optionally use VeraPDF as a verifier for our PDF export unit tests, just like the ODF validator, but that is a lot more work tom implement. Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/06e35b3289090ec623fe5284976ee6f40681e1d5 tdf#136805 PDF export: re-add XMP basic meta data It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/4684f8e09ac540a85b843b2306a9e9edeb8c17ec tdf#136805 PDF export: re-add XMP basic meta data It will be available in 7.0.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-7-0-2": https://git.libreoffice.org/core/commit/749b206f1d2e31128762be9d727f1dc4c764aed5 tdf#136805 PDF export: re-add XMP basic meta data It will be available in 7.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. I have retested 7.0.2.2. The problem is gone. Thank you. Kind regards, Jan Prochaska |