[Okular-devel] Regarding okular generators

Albert Astals Cid aacid at kde.org
Sat Dec 29 17:52:36 UTC 2012


El Dissabte, 29 de desembre de 2012, a les 22:56:12, Jaydeep Solanki va 
escriure:
> As you might be knowing that Poppler::Page::textList() generates text in
> the correct order (i.e. left to right). Now poppler not only generates it
> in the correct order but it also considers the layout, for example in a two
> column document, it follows the column layout while indexing the text.
> [image: Inline image 2]
> 
> just of example consider the image above, see the selection, poppler
> doesn't generate textList() in that order, it generates the textList() as
> shown in the below image,
> 
> [image: Inline image 3]
> So my question is do all the libraries that the generators of okular use,
> generate text in the proper order considering the layout ?

That doesn't matter, Textpage algorithms "should" correctly arrange text in 
columns (as correctly as the algorithm in there works).

Have you found any particular problem?

Albert


More information about the Okular-devel mailing list