Originally Posted by willus
I think I get what you want and it depends on whether I can figure out how to have MuPDF render only text primitives from the PDF file. I will add it to my k2pdfopt wish list. Thanks for the idea.
I'm not sure if MuPDF allows rendering of page regions only, but it provides bounding rectangles for text regions (see http://www.mupdf.com/doc/source/fitz.h#1583
). So even if you have to render the entire page, you know where the text is. I use this in my pdf viewer to dectect (or better guess atm) columns and crop and zoom accordingly (https://gitorious.org/flatboat/flatb...ge.cpp#line116