Re: [iText-questions] Text position/length reading problem

2010-12-10 Thread Apostol Karovski
As I said, I have modification similar to TextMarginFinder In RenderText I remember all rectangles from RenderInfo (in the example you talk about, in RenderText, only one rectangle exists, formed by union) I am attaching more colorful pdf, where I expect 4 rectangles, (they should be drawn in the

Re: [iText-questions] Text position/length reading problem

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 15:00, Apostol Karovski schreef: Hello, I use iTextSharp SVN trunk version and I see a problem with some pdf files. What I want to do is to highlight text. I tried the example from the book with your test.pdf and you can find the result in attachment. As you can see, a rectangle is

[iText-questions] Text position/length reading problem

2010-12-09 Thread Apostol Karovski
Hello, I use iTextSharp SVN trunk version and I see a problem with some pdf files. What I want to do is to highlight text. I realize that I can achieve getting all test positions with class similar to TextMarginFinder, which will return for me list of rectangles + texts, and then mark them with Pdf