PDF/A conversion problem since 24.12

Hello!

I convert this pdf input.pdf (31.5 KB) to PDF/A-2B, but since 24.12 there are problems, when the font “Akagi” is used in the PDF.

Document document = new Document(new ByteArrayInputStream(input));
PdfFormatConversionOptions options = new PdfFormatConversionOptions(PdfFormat.PDF_A_2B, ConvertErrorAction.Delete);
document.convert(options);
document.save(“output.pdf”);

Resulting pdf, when 24.11 is used: 24.11.pdf (32.6 KB)

Faulty pdf, when 24.12 is used: 24.12.pdf (24.2 KB)

Kind regards

@dvtdaten

It seems you are experiencing issues with converting a PDF to PDF/A-2B format when using the “Akagi” font, particularly since the update on December 24. This problem has been acknowledged, and a ticket has been created for the development team to address it.

To troubleshoot this issue, you might consider the following steps:

  1. Check Font Availability: Ensure that the “Akagi” font is properly installed on your system. If the font is not available, the conversion may fail or produce unexpected results.

  2. Use Font Source: If the font is not installed, you can specify the font source in your code. For example:

    FontRepository.Sources.Add(new FolderFontSource("path_to_fonts_directory"));
    
  3. Validation: After conversion, validate the resulting PDF using a tool like Adobe Preflight to check for compliance with PDF/A standards.

  4. Revert to Previous Version: If the issue persists and is critical, consider reverting to the version prior to December 24, which you mentioned worked correctly.

  5. Monitor Updates: Keep an eye on updates from Aspose regarding the ticket created for this issue (Issue ID: PDFNET-55740). They will provide fixes as per their support policies.

If you need immediate assistance or a workaround, you might want to explore the option of paid support services for priority handling.

For further details, you can refer to the original discussion on the Aspose forum regarding this issue.

Sources:
[1]: PDF to PDF/A problem with font Akagi

Yes, I remember PDF to PDF/A problem with font Akagi - #5 by sergei.shibanov, and it worked fine since then. But not with Aspose.PDF 24.12.

@dvtdaten

We are checking it and will get back to you shortly.

@dvtdaten
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-44696

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@dvtdaten
Thank you for writing to us. There was indeed a regression - I hope the development team will fix it soon.