I want to be able to determine the bounding box of areas of text, images and paths on a PDF page, similar to what is shown here:
http://www.windjack.com/products/screenshot/pdfcanscreenshot2.html
Looking at the PDF spec, I can see how to determine the bounding boxes of paths and images, but I can't see how to arrive at them for text. Do I have to calculate it by hand, determining the height and width of the glyphs from the font size, etc., or is there a more straightforward way?