On 08/27/2014 11:09 PM, John Andersen wrote:
On 8/27/2014 7:22 PM, Anton Aylward wrote:
Now I've just gone back to the same PDF document, the one I personally produced with LibreOffice, and used the 'selection tool' to select a region that includes some text. But its a rectangle, possibly a bitmap, who knows.
Well actually I'm offered a menu. I can paste to clipboard as text or I can paste to clipboard as bitmap.
It looks like okular has smarts that I never suspected.
Well that works if the document was created by something like LibreOffice.
But not all documents have text inside. Some are just images of text, especially if you scanned them into pdfs.
What you're saying is that the PDF is not of text but is an image. it just happens to be an image of text. We can read it just as we can read the test on a photography of text. But its not text in the sense of a string of ASCII. So yes I can use the 'select' tool and instead of saving as text I save as bit map. And posting THAT into vim gives me garbage. Which gets back to an interesting question. if the PDF is an image anyway then how can the KDE3 tool read i s text? is there some image-to-text going going on? What if its in a strange 'artistic' font that humans have no problems with...? I don't see that kpdf can do that. I'm sure I can download some book or scientific paper that is a scanned image and try this, but not right now. Anyone? Find one and send it to Istvan and ask him to try it with kpdf. -- Parkinson's Law: Never Interview Emus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org