[poppler] Reflow Feature Support in Poppler
Baz
brian.ewins at gmail.com
Wed Jan 6 03:39:40 PST 2010
2010/1/6 vinod sharma <yrvinod.sharma at gmail.com>:
> Hi
>
> Does poppler support reflow feature?
No.
>
> I have poppler -0.12.1 version .
>
> Can i get any help or documentation for reflow implemantation?
If this is for display on small devices, remember there are other
approaches. Acrobat's reflow feature relies upon tagged pdfs (which
are not all that common), or guessing the layout, much as poppler does
for text extraction. One alternative is therefore to use poppler's
text extraction and /not/ display the document as a pdf; eg use
pdf2txt or pdf2html and rely on a browser to do reflow. That's what
this bug is about: https://bugs.freedesktop.org/show_bug.cgi?id=20652
I've also seen implementations which, when you've zoomed in to a
column of a document, treat 'next' as 'pan down until I'm at the
bottom of the page; then jump left one screen width and up to the top;
if I've reached the bottom right, go the top left of the next page'.
This works quite well for reading docs with columns on small screens,
but if the text you want to read is too wide for the screen its fairly
poor. You can get around this on (eg) the iphone by letting the user
drag the zoomed area side-to-side but you can't do this on e-Ink
devices because the refresh rate is so slow.
Another possibility is described in this technical report from PARC:
http://www2.parc.com/isl/members/janssen/pubs/TR-01-2.pdf
the idea here is to render the document as an image, then segment the
page using standard layout analysis techniques (see eg Ocropus).
However, the normal next step of performing OCR is skipped - instead
the segments of the image are used as many small images in an html
document. Once again, resizing the html document will cause reflow of
the /rendered/ pdf. The effect is pretty nice and has the advantage of
working on scanned documents too. I know someone posted an
implementation of work similar to this in python, here:
http://www.mobileread.com/forums/showthread.php?t=23048
Hope some of this helps
Baz
>
> Thanks and Regards
>
> Vinod Sharma
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
>
More information about the poppler
mailing list