PDF/A with character or font problems

A customer uses the Microsoft “Print-to-PDF” function to save an email as a PDF.
This PDF is then to be converted to PDF/A using our software with Aspose PDF.

Unfortunately, one character is not transferred correctly. You can already see in the original PDF that the German character (umlaut) ‘ä’ is embedded with a different font. But in PDF/A the following character disappears.

The customer says other software could convert the PDF better.

screenshot.png (1.7 KB)

Code snippet:

        try ( InputStream is = new FileInputStream( source );
            Document doc = new Document( is ) ) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            boolean ok = doc.convert( baos,  PdfFormat.PDF_A_2B, ConvertErrorAction.Delete );
            doc.optimizeResources();
            doc.save( target.getAbsolutePath() );
        }

Attached PDF and PDF/A
example.zip (762.0 KB)

@depi
Thank you for you enquiry, I’ll investigate this issue and write you back as soon as possible.

@depi
Thank you for your patience
It seems that issue was already resolved in latest version, which is 24.11
ms-print-to_out_24.11.pdf (619.3 KB)
so I would recommend to try updated version and see if there’s any issues remaining
Please feel free to contact if you have any questions

I tried the latest version, but it depends on the line of code with subsetting fonts

        doc.getFontUtilities().subsetFonts( FontSubsetStrategy.SubsetEmbeddedFontsOnly );

without this line the text is ok.

@depi
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-44598

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.