Summary: | PDF/A-1a generated is not compliant | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | paolog <paolo.greppi> |
Component: | Printing and PDF export | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | cno, ilmari.lauhakangas, serval2412, thb, xiscofauli |
Priority: | medium | ||
Version: | 5.2.7.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=106651 https://bugs.documentfoundation.org/show_bug.cgi?id=127217 https://bugs.documentfoundation.org/show_bug.cgi?id=136822 https://bugs.documentfoundation.org/show_bug.cgi?id=148680 https://bugs.documentfoundation.org/show_bug.cgi?id=144433 |
||
Whiteboard: | target:6.3.0 target:6.4.0 target:6.3.0.1 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103378 | ||
Attachments: |
LibreOffice test files and the exported (would be) PDF/A-1a files
PDF/A-1a exported on Windows with LO 5.4.2.2 Verapdf 1a validation report for Aaa_5.4.2.2.pdf |
Description
paolog
2017-10-25 14:58:04 UTC
Created attachment 137287 [details]
LibreOffice test files and the exported (would be) PDF/A-1a files
5.2 is EOL. Could you give a try to a recent LO version? Last stable one is 5.3.6 and there's also brand new 5.4.2 Hi, I have just tested on Windows with LO 5.4.2.2, and I also updated Verapdf to version 1.8.2 It turns out the Bbb2 and Ccc test cases pass, but Aaa yields the same error. I attach the new PDF file and the full XML output from verapdf: /opt/verapdf/verapdf -f 1a Aaa_5.4.2.2.pdf Created attachment 137335 [details]
PDF/A-1a exported on Windows with LO 5.4.2.2
Created attachment 137336 [details]
Verapdf 1a validation report for Aaa_5.4.2.2.pdf
Confirmed Aaa fails with http://demo.verapdf.org/ Arch Linux 64-bit, KDE Plasma 5 Version: 6.0.0.0.alpha1+ Build ID: 4b5751dd0b08d5fe55f89513ea1062f059c493c7 CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on November 8th 2017 On pc Debian x86-64 with master sources updated today, I don't reproduce this. I did this: - retrieved zip file and extract it - opened AAa.ods - chose file Export As PDF... - checked PDF/A-1a - used http://demo.verapdf.org/ to check file passed. Did I miss something? Which Debian release ? Currently stretch has libroffice 5.2.7, stretch-backports and buster (testing) have 5.4.2 while sid (unstable) has 5.4.3. Also on demo.verapdf-org did you select the PDF/A-1a profile ? I had indeed missed the VeraPdf setting, now I can reproduce the pb. Sorry for the confusion. Cor: just for information, I had submitted a patch which made the validation ok but since I didn't know the impact in general, I abandoned it. https://gerrit.libreoffice.org/#/c/44920/ Perhaps it could help, at least it can be useful as code pointer. If you know an LO dev expert in pdf part, don't hesitate. Thanks Julien. (In reply to Julien Nabet from comment #10) > If you know an LO dev expert in pdf part, don't hesitate. jenkins says OK, and you see it works, so why not push? Our users & QA will discover if it breaks anything. (In reply to Cor Nouws from comment #11) > jenkins says OK, and you see it works, so why not push? > Our users & QA will discover if it breaks anything. Because of the Miklos' comments in gerrit patch. Jenkins says it's ok for the build and the tests associated but I don't think there are hundreds of pdfs tested. This patch makes this case ok but, since neither Miklos nor I know pdf enough, it could trigger lots of regressions. I wouldn't like to potentially provide a lot of extra work to QA, there's already enough when you see the number of existing cases just to fix this bugtracker. The next step could be to propose the patch on dev mailing list but since I guessed more this patch than really understood how the whole thing worked, I suppose I'd be bashed :-) ** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug downloaded the latest version of verapdf 1.13.24 The only one that not past the test is Aaa.pdf The other two past the test with no errors messages Version: 6.3.0.0.alpha0+ Build ID: d6e6745683c80b66349eb82581a862fcc5961575 CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); UI-Language: en-US Calc: threaded Aaaa.pdf generated with master build /opt/verapdf/verapdf -f 1a /root/Downloads/test_files/Aaaa.pdf <?xml version="1.0" encoding="utf-8"?> <report> <buildInformation> <releaseDetails id="core" version="1.13.7" buildDate="2018-08-22T12:03:00+02:00"></releaseDetails> <releaseDetails id="validation-model" version="1.13.20" buildDate="2018-08-31T08:35:00+02:00"></releaseDetails> <releaseDetails id="gui" version="1.13.24" buildDate="2018-08-31T08:49:00+02:00"></releaseDetails> </buildInformation> <jobs> <job> <item size="24347"> <name>/root/Downloads/test_files/Aaaa.pdf</name> </item> <validationReport profileName="PDF/A-1A validation profile" statement="PDF file is not compliant with Validation Profile requirements." isCompliant="false"> <details passedRules="106" failedRules="1" passedChecks="611" failedChecks="1"> <rule specification="ISO 19005-1:2005" clause="6.8.3" testNumber="1" status="failed" passedChecks="0" failedChecks="1"> <description>The logical structure of the conforming file shall be described by a structure hierarchy rooted in the StructTreeRoot entry of the document catalog dictionary, as described in PDF Reference 9.6</description> <object>PDDocument</object> <test>StructTreeRoot_size == 1</test> <check status="failed"> <context>root/document[0]</context> </check> </rule> </details> </validationReport> <duration start="1544494065287" finish="1544494067694">00:00:02.407</duration> </job> </jobs> <batchSummary totalJobs="1" failedToParse="0" encrypted="0"> <validationReports compliant="0" nonCompliant="1" failedJobs="0">1</validationReports> <featureReports failedJobs="0">0</featureReports> <repairReports failedJobs="0">0</repairReports> <duration start="1544494065050" finish="1544494067808">00:00:02.758</duration> </batchSummary> </report> Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/6907cbd0f8e198a0f1810b1a07f552a47c9da660%5E%21 tdf#113448 fix type1 font subsetter It will be available in 6.3.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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/4859d0b6cee9477ab65e86923e7c0a0b88022d8e%5E%21 tdf#113448 fix PDF forms export It will be available in 6.3.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. A polite ping to Thorsten Behrens: Is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Otherwise, Could you please explain what's missing? Thanks Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/6ec26ba3aa195eac62fb8803137070d23a69491c%5E%21 tdf#113448 don't export any font for radio buttons It will be available in 6.4.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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/35f71c648c45769d4cc75f8b422bcdb020916a73%5E%21 tdf#113448 Export font used for checkbox mark It will be available in 6.4.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. With the above two commits, all validation errors _I_ am aware of (via verapdf) seem solved, so setting this to fixed now. Thorsten Behrens committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/c0c4152c6077839d0e6c65dac64fde894d6aafbe%5E%21 tdf#113448 Export font used for checkbox mark It will be available in 6.3.0.1. 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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/76b5dca9dc0ff60f8f62cbecdee68f8f3b287ceb%5E%21 tdf#113448 don't export any font for radio buttons It will be available in 6.3.0.1. 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. |