Question

PDF Fonts not embedding after concatenate

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.

https://community1.pega.com/community/pega-product-support/question/which-version-itext-and-pd4ml-supports-pdfa-version-3

I see in below URL says, PDF/A format will support by Itext only from 5.4.5 versions. PDF/A format is nothing but embedding the fonts in pdf after generating.

https://community.pega.com/support/support-articles/issue-generating-pdf-using-eforms-pdfa-templates

My question is, is there any other way to convert those type of files to pdf with font embedded in it. Or does pega will support to upgrade to higher version of itext.

Is there any new update on decision of Pega not upgrading to a higher version of iText.

***Edited by Moderator Marissa to update SR Details***

Group Tags

Comments

Keep up to date on this post and subscribe to comments

June 18, 2019 - 2:10pm

we are concatenating the all converted pdf's to single file to genearate as one file.

June 27, 2019 - 10:46am

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.

June 27, 2019 - 1:47pm
Response to SrinivasKakani

Hi Srinivas,

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.

July 11, 2019 - 9:10am

Hi, still I'm waiting on answer for this.