Fix PDFs hack

I recently bought a new ebook reader (Wolder miBuk ALFA 7.0 Color) because my previous one was very bad at reading comics. It looked really great in the shop, but as soon as I copied my entired e-book collection to a memory card and inserted it on the reader, I found its 1st problem: it doesn’t have the option to display the books collection by file name, but it gets the PDF metadata and uses that. So, since lots of my books didn’t have correct metadata, it was very hard to find books in the library view.

But thanks to the help of Carlos García Campos (famous Evince/poppler hacker), I cooked up a patch for Poppler to add API to be able to set the metadata, and, right after that, wrote a very simple GTK program to allow me to “fix” my ebook collection.

The Poppler patch is still not ready to be pushed upstream (my fault, lack of time in the last couple of weeks, but will fix it soon), but posting this now just in case it is useful for someone.

Tags: , , ,

3 Responses to “Fix PDFs hack”

  1. Bastien says:

    Support in evince directly, or through a nautilus extension (right-click -> Properties) would probably be nicer.

  2. rodrigo says:

    Bastien: yes, that’s the plan I have (Nautilus extension, out of scope for Evince), as soon as I get the poppler patch upstream

  3. José Aliste says:

    I guess Carlos would not mind to accept patches that add support for editing metadata in the dialog that shows the metadata