Adobe PDF SDK (Not Acrobat SDK) - Problems with converting PDFs to PDF/X-1a
Hi
I understand that this a forum for Acrobat SDK. However, I'm still posting this question here because -
1. I couldn't find a forum specifically for Adobe PDF lib
2. The PDF lib is a subset of the Acrobat SDK (minus the AV layer) so I'm guessing this is "relevant" here too
(Please let me know if I'm mistaken)
That having been said here it is..
We have licensed Adobe PDF SDK that we're using within an in-house service (in a Linux container) to convert PDFs to PDF/X-1a (for reliable printing). This works perfectly most of the time. However, some of the PDFs fail conversion. We get a "[Error 269221888] PDFX Font Error Occured". We're using code which is very similar to that in PDFProcessor.cpp (included in the SDK samples) ie: using the PDFProcessorConvertAndSaveToPDFX. This function is not listed in the docs so I'm guessing that this is an "undocumented plugin" that comes with the SDK.
We know that the failing PDFs have some "unembedded fonts" and so installed the missing fonts but the conversion still fails. The puzzling this is that the the PDFProcessorConvertAndSaveToPDFA function works on the same file. My understanding is that a PDF-A also has the fonts embedded so I'm guessing that the "font installation" worked. I'm unable to understand why the PDFProcessorConvertAndSaveToPDFX still keeps failing. Another point is that the PDFProcessorConvertAndSaveToPDFX works on the output from PDFProcessorConvertAndSaveToPDFA (ie: the PDF-A file that has the fonts embedded).
All the above means that we have to try the PDFX conversion and if it fails (because of "font issues") convert to PDFA and then convert to PDFX. We'd like to figure out a way to get the PDFX coversion working with the new installed fonts. With PDFProcessor* functions neither being documented nor open sourced, I'm not sure who/where to look to/for a solution.
Any suggestions?
