Application of the Month: KPDF

It might be late but that is because April's application of the month covers one of the finest additions to KDE 3.4: KPDF. The application overview takes us through the powerful features in KPDF: thumbnails, contents, scrolling, zooming and searching. We also have an interview with one of the creators of KPDF, Albert Astals Cid. He tells us how KPDF got started, about Free Software use in Spain and where we should visit on our way to Málaga. Enjoy App of the Month in Dutch, English, French or German.

Dot Categories: 

Comments

by Pat (not verified)

"What is missing is the possibility to edit a document, but this is very hard to implement. However I'm sure they are working on this"

Are they?

by ac (not verified)

I highly doubt it. PDF like PS, DVI and some others is an output format, it's not ment to be edited.

by Spy Hunter (not verified)

Not that I know of, however they are working on providing better text selection (sometimes text selection in PDFs doesn't work like you would expect). Also, I believe KWord has a PDF import filter; not sure how well it works.

by fprog26 (not verified)

Maybe they could provide a pop-up to replace simply the "selected text",
that would be a start.

But first they should make selection text a bit better. =)

by Anonymous (not verified)

I think that would be outside the scope of KPDF. Maybe improving the KWord import filter would be a better idea.
Anyway, I really do hope they add to KPDF Postscript support, so it can be THE universal viewer for KDE, and drop KGhostview which right now is a bit redundant.

by Robert (not verified)

There is currently work going on to give kpdf, kdvi and kghostview (?) a common framework so that they share all relevant code.

by KDE User (not verified)

Tried Scribus?

by Volker (not verified)

It' s great, but if you want to open quarkXPress-data, you better try out viva-designer...

by anon (not verified)

I don't know, but if they aren't, I think it's the perfect troll with which to end that interview. :-)

by Syg (not verified)

Depends what you mean by "editing."

I'm currently working on a (highly proprietary corporate internal) application that mangles PDFs in various ways. It's not technically difficult to modify the PDF document structure (a complete document structure parser which can read a PDF file, mangle its internal structure, and write a new PDF file is two weeks' effort and about 1300 lines of Perl). It is a little difficult to do this in open-source land while also respecting the egregious licensing terms of the PDF spec documents (most of which IMHO are probably unenforceable, but Adobe tries to enforce them anyway).

Most of the PDF document structure is above the page level. To PDF, the pages you can actually see are just leaf nodes in a big multiple overlapping tree structure. Most of the structure deals with page indexes, bookmarks, hyperlinks, annotations, fonts, images, and structural details to support incremental revision by appending to the file and efficient document loading over slow/high-latency links (but not both at the same time). Adobe has a number of patents on those topics.

I expect the first useful editing features to be rearranging pages, changing the bookmarks list, importing pages from other documents, adding annotations and hyperlinks, and limited graphics or text manipulation such as adding a page number, headers/footers, border, logo or watermark to pages--all easy features to implement on top of a working PDF parser/generator.

by Michel Brabants (not verified)

Heya,

I believe the text-part of koffice can import pdf's. I don't know how good the support is ...

Kpdf is a nice application. I used it lately a bit. I hope that they can make the rendering go faster and that they test it on papers that contain mathematical expressions. For papers that contain mathematical expressions, I (sometimes) switch to xpdf since it renders the formulas well. Just searching for papers on scholar.google.com or some other source that contain formulas may be a start ...

for the rest, nice work!!! I like the menu where you can choose between selecting character-data or image-data, ...

Michel

by Francisco (not verified)

When can i used and fill pdf forms? With this feature, kpdf will be THE opensource pdf reader!

regards and keep on the good work!

by Kolbjørn Barmen (not verified)

I always end up using acroread, since it lets me rotate the documents so that I can read them full screen on my tablet convertable acer travelmate. I would have guessed rotation to be a standard feature for such a program, but kpdf seems to lack it.

by anon (not verified)

Have you tried krandrtray?

by Kolbjørn Barmen (not verified)

Uhm, I just wanted to rotate the documents, not mess up my desktop. :)

Since there is no way to snapshot and restore icon locations on KDE, using xrandr is something I'd avoid. Also, it seems that the i810 xorg driver doesnt support rotation, only resize.

by Jeffrey M. Smith (not verified)

Looks like the devs are aware of this wish.

http://bugs.kde.org/show_bug.cgi?id=99352

by Liam (not verified)

Three years later, the developers have not provided any rotation feature. Thanks for nothing, guys; acroread is still the only reader that's worth anything.

by David Garamond (not verified)

Seconded. Today I had to read a document that is rotated 90 degrees. I just realized that neither kpdf nor evince provides rotation, so I had to install acroread. But to give credits where it's due, for regular PDFs I do use kpdf on a daily basis.

by raziv (not verified)

Actually, evince _does_ provide rotation. It is under the "Edit" menu, for some peculiar reason.
IMHO this non-feature in KPDF is one of the biggest mysteries in the history of software.

by Boudewijn Rempt (not verified)

Of course, we're in 2008 now and shouldn't be talking about kdpf anymore, but okular, which actually _does_ provide rotation. And then... If using a convertible tablet is the reason one wants to rotate the display of a pdf, why not use xrandr to rotate the whole display?

by perraw (not verified)

Hi,

Just wanna say thanks a lot for adding search ability to KPDF. It seems to work sooo good. I have really missed this feature!

P

by superstoned (not verified)

I agree, the search is amazing.

by Ivan (not verified)

I'm using it and just can say that it has all the capabilities I ever needed from a PDF reader and never found in Linux. Thanks for the guys that made it.

by Michael Jahn (not verified)

Hi,
First of all let me thank you for kpdf - it has really improved a lot with the latest release!

Now 2 questions I would like to have seen in the interview:
1. How is the collaboration with the poppler guys?
2. Do you plan on switching to poppler anytime soon?

TIA,
Micha

by Albert Astals Cid (not verified)

1. How is the collaboration with the poppler guys?
- Mostly good

2. Do you plan on switching to poppler anytime soon?
- Depending of your definition of soon

by Michael Jahn (not verified)

Thank you for the answers.

Actually the question should have been posed without the "anytime soon"-part. I was just curious whether you intend to do this at all without any relation to _when_ this will happen.

by ashay (not verified)

Great going!
Once they add form fill support, its bye bye to Acroread.

by Marc Driftmeyer (not verified)

Presentation View page counter increase is counter intuitive to web page and application scrolling.

The Logitech mouse scroller increases page count going counterclockwise (right-hand rule) (page up) instead of the commonly used (clockwise) (page down) scrolling of the wheel.

by anon (not verified)

Pity this gem isn't included in Mandriva LE download edition. Neither is KOffice. :(

by Anonymous (not verified)

Mandriva advertizes to have KPDF of KDE 3.4 backported, and KOffice is also included - Kivio iirc even on one of the two first CDs.

by anon (not verified)

I know they do. It's not on the CDs I downloaded, trust me. I looked carefully and urpmi does not find them either.

by Mand* Rules (not verified)

You should use http://easyurpmi.zarb.org and setup "main" and "contrib" repositories. Then urpmi should find both.

by michael (not verified)

While I like the overall feeling of kpdf I usually switch back to acroread for longer texts. Why? The fonts are a lot nicer and better to read. A closer look with xmag shows that compared to acroread the fonts are bold. Btw xpdf produces exactly the same results as kpdf.
Any chance that the fonts will be rendered more like acroread in future versions or is there a reason why its different?

by James Richard Tyrer (not verified)

Would you please try this PDF and see if you have font problems with it:

http://home.earthlink.net/~tyrerj/files/PS-12/PS-12.pdf

People have reported similar problems, but I can't reproduce them.

--
JRT

by Andrew (not verified)

I have no real need for editing of PDFs, but the ability to add annotations - underlines, marginal notes, highlighting - would be extremely useful. They could be added to the PDF itself, or stored as a separate "overlay" in whatever format.

I have looked for this feature in various applications, and the only programs that support it are scribus-like applications, which try to load the whole document at once, rendering them useless for documents that consist of (say) four hundred pages scanned at 600 DPI. (Of course, DjVu is a good format for this, but none of the programs supporting it permit annotations either.)