View Single Post
Old 02-07-2010, 02:07 PM   #31
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
Here are the sources for the djvu plugin. I basically copied the pdf plugin (from firmware version 1.7) and reimplemented just enough of the poppler API with djvulibre to make it work with the rest of the plugin (the new files are src/pdf_doc.cpp and inc/pdf_doc.h ).

I haven't changed the names of the files or classes. Most files are unchanged, and the changes in the other files are small (changing ".pdf" extension to ".djvu", poppler includes to "pdf_doc.h").

The source is slighly different from the last (0.1.3) binary release. I also removed the dependency on poppler and included only the 'goo' library. This should make it easier to port to the dr800 and the upcoming dr1000 firmware that will use the adobe pdf viewer instead of poppler.
Attached Files
File Type: gz djvu-plugin-src-0.1.4pre.tar.gz (102.6 KB, 223 views)
luite is offline   Reply With Quote