Bruno & Leo,
Thanks for your time. These base pdf documents (pdf 1..n) are coming from
third party companies, state & Federal governments. So we have no control
over the fonts they use in these documents. We need to create several
different combinations of these base documents by combining them.
As Bruno said, this is _NOT_ a trivial task.
You will need to understand the complexities of font formats, text
encoding and how these relate to PDF content streams. Once armed
with that information, you can begin to construct code that will
unembed fonts - or at least some of them. It a
new2pdf wrote:
Is there a better way of doing this?
That's not a question I can answer in only a few lines.
Due to lack of time, I have to pass on this question for now.
Maybe somebody else can explain how to remove fonts
(although that's always a very delicate matter).
br,
Bruno
smime.p7s
De
Is there a better way of doing this?
--
View this message in context:
http://www.nabble.com/How-to-remove-embedded-fonts-from-a-pdf-document-tf4899584.html#a14063275
Sent from the iText - General mailing list archive at Nabble.com.
--
I am concatinating many pdf forms into one pdf document using the following
code.
PdfCopyFields copy = new PdfCopyFields(new
FileOutputStream("concatinated.pdf"));
copy.setFullCompression();
copy.addDocument(new PdfReader("form1.pdf"));
copy.addDocument(new PdfReader("form2.pdf"));