On 2014-08-28 10:07, Philippe Andersson wrote:
On 28/08/14 04:22, Anton Aylward wrote:
The about box for okular lists kpdf contributors. They ported the code.
From earlier comment on this list, the bug is not in Okular, but in the underlying PDF-handling library (though I don't remember which one that is) -- KPDF apparently uses a different one.
That can be. One is poppler. Okular mentions it uses ghostscript backend. I just looked at ldd output, but I don't get a picture.
But to give an example, here is part of some table copied from a PDF using kpdf:
-----------------------<cut>-------------------------- 17957583 16 - TCR/TR #1 (FBTR) - Dynalogn Qty Reference Description 1 C8N26AV BTO/HP EliteDesk 800 G1 SFF 1 C8N61AV BTO/Single Unit (SFF) Packaging 1 NQ592AV BTO/HP E-Star 5.0 Cat C Label -----------------------<cut>--------------------------
Here is the exact same text copied using Okular: -----------------------<cut>-------------------------- Qty 17957583 Reference 1 1 1 C8N26AV C8N61AV NQ592AV 16 - TCR/TR #1 (FBTR) - Dynalogn Description BTO/HP EliteDesk 800 G1 SFF BTO/Single Unit (SFF) Packaging BTO/HP E-Star 5.0 Cat C Label -----------------------<cut>--------------------------
Both times using the rectangular selection tool, then "Copy to Clipboard". Guess which one I prefer ;-)
I see... Yes, I can reproduce that behaviour. Try "table selection tool" instead. Even if you remove the columns, the text is in the correct order, but with many spaces removed. 1 13,99€ 9913, € Disqueteras Teac Disquetera Art.-Nr.:BFF#04 Disquetera 34 pines, 3,5 pulgadas, 1,44 MB And adjusting the columns it gets better: 1 13,99€ 9913, € Disqueteras Teac Disquetera Art.-Nr.:BFF#04 Disquetera 34 pines, 3,5 pulgadas, 1,44 MB But still needs adjusting. Consolation: evince is even worse, it selects text above and below the selection zone. Acrobat does the same, way worse that okular! It has no text box selection tool, it has to be an image. I'm actually liking okular a lot more than I did ;-) (I'm using a PDF generated by firefox from a webpage (an Alternate pc-builder list, nothing special). The generator field says "cairo 1.6.4". I don't have kpdf installed, though. Installing... Trying... 1 13,99 € 13, 99 € Disqueteras Teac Disquetera Art.-Nr.:BFF#04 Disquetera 34 pines, 3,5 pulgadas, 1,44 MB Yes, it does a much better work. Curious... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)