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 PdfStamper
I didn't get far. For this pdf I am attaching as a sample, the widths and positions of the text that I get from TextRenderInfo in method RenderText is wrong. I initialy suspected that the encoding was problem or font was not installed on the system, but i see that it is already embedded in the pdf. So maybe the problem is encoding. Hope to hear about a solution for this.
test.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
