Hi.

I've found the solution of my error. I'm using wrongly the commands:

        cb.beginText(); // BT Begin Text operator
        cb.endText(); // ET End Text operator

Now I begin and end text correctly.

For more information, I found Operator Categories on page 166 of
document "PDFReference15_v5.pdf", PDF Reference, Fourth Edition, Version
1.5, http://partners.adobe.com/asn/tech/pdf/specifications.jsp

I hope this help you if you have the same error.

Ana




> 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

Reply via email to