Convert PDF to PDF/A Font Problem

Hello,


we are using Apose.PDF (10.8.0) to convert PDFs to PDF/A Format.
The convert method
pdfaDocument.Convert(logErrorFile, PdfFormat.PDF_A_3B, ConvertErrorAction.Delete)
fails with some font errors in the logging, see here:

Font ‘C39HrP24DmTt’ is not embedded

Is there any way to replace those non convertable fonts with a standard font like ‘Arial’ or something to get the convertion succeed?
Embedding those fonts is not an option, because we don’t know and don’t have all those fonts which affects this errors.

Thanks in advance.

Greetings,

huf1


Hi there,


Thanks for your inquiry. Please check following documentation link to replace fonts in existing PDF document. You can replace fonts before PDFA conversion. However if the issue persist then please share your source PDF document here, we will look into it and guide you accordingly.


We are sorry for the inconvenience caused.

Best Regards,

Thanks for your quick reply.

But with this replacement we have to know all the fonts, which causes errors to replace them with a convertible font like ‘Arial’.
The PDFs will uploaded by random users and and then converted to PDF/As, therefore will don’t know all the fonts which could be in the PDF.

Is there any method or something like that, that give us all allowed fonts for using in a PDF/A? Then we can check if the the font is a valid one and if its not, we replace it with a valid one.

Greetings

Hi Johannes,


Thanks for sharing the details.

The error might be occurring if font is not properly embedded inside PDF file. However please share the resource file, so that we can test the scenario in our environment. We are sorry for this inconvenience.