You are generating the pdf with PdfContentByte and putting those operands out of scope. You have the answer in your PS.
Best Regards, Paulo Soares > -----Original Message----- > From: Ana Mart�n [SMTP:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 11:04 > To: [EMAIL PROTECTED] > Subject: [iText-questions] wrong PDF format for Acrobat Reader 5.0 > > iText library has been very useful for me. > I have achieved to make my pdf document ok. > > I use KGhostView on Linux to view the pdf result, and this looks > allright. > > When I test this with Acrobat Reader 5.0, these message appear and I > don't look well the document: > > - Illegal operation 'q' inside a text object" > - Illegal operation 'BT' inside a text object" > > Anybody could explain me what is 'q' or 'BT' operation, and where i can > search for class of operation? > > Thanks in advance, > > ANA > P.S.: > > I found this on the web: > > http://www.stillhq.com/ctpfaq/2002/03/c1088.html#AEN1428 > 24. Illegal command m in text object > Q: Does anybody know why any .PDF files I make in Gymnast give me an > "Illegal operation 'm' inside a text object" error message when I open > them in Acrobat Reader? [Q176] > A: Because the m operation is not allowed (but tolerated up to version 4 > of the reader) within a text object.-Herbert Kleebauer ([EMAIL PROTECTED]) > [A269] > A: Its caused by a bug in the program producing the file. > Text-related instructions must be separate from graphics instructions. m > is a graphics instruction (short for move) and should not appear in the > PDF between a start-text and end-text instruction. When it does you get > this message. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
