I want to generate the pdf of all file formats by converting and with fonts embedded in it. I’m able to convert all types of file formats to pdf successfully. But the only issue we have is not able to embed the fonts after converted to pdf because Itext is not supported for PDF/A format in 2.1.7 version.
We are trying to convert the text, doc, jpg, xls, tif files to pdf where we are “lowagie.text” class which will use Itext jar files to convert in pega. Currently pega has 2.1.7 version, I found below article saying pega stopped upgrading itext due to some incompatible. Below is the url in pdn which we found.
At this time, we are not considering the upgrade of the iText library shipped in the product. It sounds like you are using a very custom setup of document conversion using whatever is available in the product, but I suspect it is not the intended use case of iText in the Pega platform.
We do have another PDF generation library in the form PD4ML that takes a HTML stream to convert to PDF. Not sure if you can utilize it.
We are using PD4ML as well to convert HTML stream to PDF. But our requirement is, there are some other file formats with txt, doc, csv, xls(these type of files users will attach to the case from their local machines as a reference to that case) extension where we need to convert those to pdf at final generation to send those out to print to send those to member. for these type of files we cant use PD4ML because those will not convert to HTML stream to use PD4ML for PDF generation.