PDF/A-1B Conversion - Fonts and Metadata errors

Hello,

Here are the errors we get when using the “validate” method after converting a PDF to PDF/A-1B:

<Fonts>
	<Problem Severity="Error" Clause="6.3.5" ObjectID="29" Page="1" Convertable="True">CIDSet is missing or incomplete for font 'RXBGJL+FONT_NAME'</Problem>
	<Problem Severity="Error" Clause="6.3.5" ObjectID="36" Page="1" Convertable="True">CIDSet is missing or incomplete for font 'RXBGJL+FONT_NAME'</Problem>
</Fonts>
<Metadata>
	<Problem Severity="Error" Clause="6.7.3" Convertable="True">Document information entry 'Producer' not synchronized with metadata property 'pdf:Producer'</Problem>
	<Problem Severity="Error" Clause="6.7.3" Convertable="True">Document information entry 'ModDate' not synchronized with metadata property 'xmp:ModifyDate'</Problem>

Here is the code we use for the conversion:

int pdfFormat = PdfFormat.PDF_A_1B;

Document doc = new Document(inputFile);

// Convert to PDF/A compliant document
doc.validate(outputValidationLogFileName, pdfFormat);
doc.convert(outputConversionLogFileName, pdfFormat, ConvertErrorAction.Delete); 

// Save output document
doc.save(outputFile);
doc.close();

Then, for the validation:

Document doc = new Document(outputFile);
boolean compliant = doc.validate(outputValidationLogFileName, PdfFormat.PDF_A_1B);
doc.close();

Please, find in attachment an extract of the PDF we are trying to convert (only 2 pages with amended content for confidentiality).
pdfTestAspose.pdf (138.2 KB)

When trying to convert the full PDF we get additional font errors (similar to the ones above) as well as the following error:

<Problem Severity="Error" Clause="6.7.3" Convertable="True">Document information entry 'Creator' not synchronized with metadata property 'xmp:CreatorTool'</Problem>

We use Aspose.PDF 20.3 (Java).

Could you please advise?

Many thanks,
Romaric

@roma.c

Thanks for contacting support.

We were able to notice in our environment that API was unable to generate a PDF/A compliant output. Hence, we have logged an issue as PDFJAVA-39334 in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

1 Like