I am trying to flatten a PDF using OutputService's transformPDF method. When I use the TransformationFormat.PDFA option so that I retain the fonts, I get an error saying similar to "Unable to find the font 'Impact'. Font substitution not allowed for PDF/A". Now the questions I have are:
1. If I want to flatten a PDF using APIs while retaining the fonts, is transformPDF method with TransformationFormat.PDFA argument the right choice? Will the size be so high that I do not get any benefit out of flattening?
2. If that is the right choice, how do I add/install fonts to LiveCycle server so that all the fonts I use are available during the transformPDF process?
Please note that I have the fonts embedded in the non-flattened PDF, thus making it look as designed in any computer it opens. I have thousands of forms which uses a variety of forms are they were designed and developed over many years with little or no style guidelines in the initial stages. Now if I flatten these forms as TransformationFormat.PDF, the fonts are substituted which make the text overflow or overlap and thus the form ugly and sometimes unacceptable. This is the reason why I looked at the TransformationFormat.PDFA option.