Evince 3.36.6 does not recognize some PDF/A files
Summary
Some PDF/A compliant files are shown as PDF 1.7 in Evince 3.36.6. See screenshots below. More specifically, it happens with OCRmyPDF output.
Describe the bug
Evince 3.36.6 shows that the OCRmyPDF output is PDF 1.7 instead of PDF/A2-b.
To Reproduce
Process any PDF, for example,
\documentclass[a4paper]{article}
\author{Authors}
\title{Title}
\usepackage[a-2b]{pdfx}
\begin{document}
\maketitle
input
\end{document}
and process it with OCRmyPDF
ocrmypdf --force-ocr input.pdf out.pdf
Its veraPDF output confirms it's a PDF/A
$ verapdf out.pdf
<?xml version="1.0" encoding="utf-8"?>
<report>
<buildInformation>
<releaseDetails id="core" version="1.15.4" buildDate="2019-08-30T19:18:00+03:00"></releaseDetails>
<releaseDetails id="validation-model" version="1.15.11" buildDate="2019-08-30T19:52:00+03:00"></releaseDetails>
<releaseDetails id="gui" version="1.15.8" buildDate="2019-09-02T15:27:00+03:00"></releaseDetails>
</buildInformation>
<jobs>
<job>
<item size="8088">
<name>/home/nik/out.pdf</name>
</item>
<validationReport profileName="PDF/A-2B validation profile" statement="PDF file is compliant with Validation Profile requirements." isCompliant="true">
<details passedRules="121" failedRules="0" passedChecks="570" failedChecks="0"></details>
</validationReport>
<duration start="1593818053297" finish="1593818053963">00:00:00.666</duration>
</job>
</jobs>
<batchSummary totalJobs="1" failedToParse="0" encrypted="0">
<validationReports compliant="1" nonCompliant="0" failedJobs="0">1</validationReports>
<featureReports failedJobs="0">0</featureReports>
<repairReports failedJobs="0">0</repairReports>
<duration start="1593818053205" finish="1593818053992">00:00:00.787</duration>
</batchSummary>
</report>
Expected behavior
Evince should recognize the output as PDF/A, as it happens with other PDF/A files.
Screenshots
System
- OS: Arch Linux box 5.7.6-zen1-1-zen x86_64 GNU/Linux
- OCRmyPDF Version: 10.2.0
Edited by homocomputeris