hi there.
I came across following problem, if I try to create a pdf-document when
adding a ps-file.
DocumentException: DocumentException: DocumentException:
java.lang.IllegalStateException: Null token encountered; last unknown
identifier was array at line 16
at com.lowagie.text.pdf.codec.postscript.PAEngine.process(PAEngine.java
:121)
at com.lowagie.text.pdf.codec.postscript.PAEngine.process(PAEngine.java
:140)
at com.lowagie.text.pdf.codec.postscript.PAParser.parse(PAParser.java
:154)
at com.lowagie.text.pdf.codec.postscript.PAContext.draw(PAContext.java
:166)
at com.lowagie.text.pdf.codec.postscript.MetaDoPS.readAll(MetaDoPS.java
:84)
at com.lowagie.text.ImgPostscript.readPostscript(ImgPostscript.java:230)
at com.lowagie.text.pdf.PdfWriter.addDirectImageSimple(PdfWriter.java
:974)
at com.lowagie.text.pdf.PdfWriter.addDirectImageSimple(PdfWriter.java
:940)
at com.lowagie.text.pdf.PdfContentByte.addImage(PdfContentByte.java
:1146)
at com.lowagie.text.pdf.PdfContentByte.addImage(PdfContentByte.java
:1124)
at com.lowagie.text.pdf.PdfDocument.add(PdfDocument.java:2074)
at com.lowagie.text.pdf.PdfDocument.add(PdfDocument.java:1989)
that does not happen when using a ps-file from the examples.
so which standards does the ps-file have to meet to be embedded by iText?
with best regards
Andreas Huhn
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/