Am 02.06.2017 um 21:13 schrieb Luís Filipe Nassif:
Hi pdfbox colleagues, thank you for this great project!

We are discussing about changing the pdf viewer of our forensic software to
pdfbox, but we need to highlight searched text into the rendered
page/image. Is there an easy approach to do that with pdfbox 2.0?

There is no easy way. The closest there is can be seen in the DrawPrintTextLocations.java example (run it with a PDF) which marks glyphs, but to highlight a found text, one would have to "find" the individual glyphs in the list of TextPosition objects of a page.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to