Lee wrote:
> Hi guys,
> 
> I used PdfCopyField to concatenate/split several PDF files into one file,and 
> the generated PDF file could be opened by acrobat reader correctly. 
> Everything 
> was fine but when using PDFRenderer(https://pdf-renderer.dev.java.net/) to 
> open this generated file, PDFRenderer(com.sun.pdfview.PDFFile===>readTrailer
> ()) threw 
> 
> PDFParseException("Expected 'xref' at start of table")
> 
> Does anyone here can help, I really appreciate it.

I think I experienced the same problem with PDF files newer
than PDF 1.4 that had the xref table in compressed form.
As you may know PDF Renderer was an old closed source project
brought into open source. It was build for PDF 1.4 (the current
version is 1.7). Plenty of post 1.4 functionality isn't supported
in PDF Renderer. How to solve it? Make sure the xref table
isn't compressed.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to