[iText-questions] Re: Problems adding a PostScript image to a PDF

2006-04-09 Thread Carsten Hammer
Hi David, you could try with an empty implementation of the postscript command "readonly": Add this to PAContext "protected HashMap constructSystemDict()" // readonly systemDict.put("readonly", new PACommand() { public void execute(PAContext context) throws PainterException {

[iText-questions] Problems adding a PostScript image to a PDF

2006-04-09 Thread David Howland
I'm trying to add a PS document to a PDF in iText, but I'm getting the following exception when I make a call to Document.add with my ImgPostscript object: DocumentException: DocumentException: DocumentException: java.lang.IllegalStateException: Null token encountered; last unknown identifier

Re: [iText-questions] Problems adding a PostScript image to a PDF

2006-04-09 Thread Leonard Rosenthol
At 04:07 PM 4/9/2006, David Howland wrote: Am I running into a limitation of the iText postscript interpreter, or is this another issue? The PostScript document is being created by GhostScript's pswrite device. Why not use the pdfwrite instead, since iText has no problem loading up ot

[iText-questions] Problems adding a PostScript image to a PDF

2006-04-09 Thread David Howland
I'm trying to add a PS document to a PDF in iText, but I'm getting the following exception when I make a call to Document.add() with my ImgPostscript object: DocumentException: DocumentException: DocumentException: java.lang.IllegalStateException: Null token encountered; last unknown identifie

[iText-questions] PdfStamper with Graphics2D using Unicode/Dingbats

2006-04-09 Thread Jerker Klang
Hello everybody! I have a little problem with PdfStamper that puzzles me and I would appreciate some hints. I have a PDF that I want to add a JFreeChart to. Adding the chart works like a charm, except that I'm using a couple of characters in the symbol and dingbats scope in Unicode. For some r