02-14-2010, 02:02 AM | #1 |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
DjVu Plugin for DR1000 - version 0.2
This is version 0.2 of the djvu plugin for the DR1000. It allows you to open DjVu files ( http://djvu.org/ ) using the same interface as the other file formats supported by the DR1000. It supports zooming, scribbles, bookmarks, text search etc.
I have opened a new thread because this version contains some important changes over 0.1.x. Note: Only firmware version 1.7.1 is supported. UDS contains a bug that causes the djvu plugin to be unable to load files when the mobipocket plugin is installed. The installer will overwrite uds with a patched version. Only uds from firmware 1.7.1 is overwritten. (If you try to use it on a different firmware, you'll have to remove /usr/lib/uds/libuds-plugin-mobipocket.so manually or you'll get an error when opening djvu files) Installation: - Download the attached zip file - Extract to the root of your SD card, overwriting existing files - Execute "/Home/Documents/Programs/Install/Install DjVu Plugin" on your reader - Wait for the device to reboot (If you have already installed version 0.1.x, you don't need to remove it. The installer automatically restores the backup files and the mobipocket plugin) Removal: - Execute "/Home/Documents/Programs/Install/Remove DjVu Plugin" on your reader. This removes the plugin itself, the djvu file associations, and copies the original uds back. Changed since 0.1.1: - updated installation scripts, will not overwrite schema's anymore - text search - lookup word in dictionary - table of contents - support for rotated pages - two-page split: if you have a document that contains two pages per scanned image, rename your file so that the file name ends in 2pg.djvu . The plugin will now display the left and right pages separately - lots of smaller bug fixes The following things are not yet supported: - table of content items that don't link to a page number (but a image name, or file name instead) - hyperlinks within a file Thanks to: - Gertjan for helping with the uds issues - Mackx for the new installation scripts Please report any issues, suggestions or requests. Last edited by luite; 02-14-2010 at 02:09 AM. |
02-14-2010, 04:54 AM | #2 |
Addict
Posts: 371
Karma: 1002274
Join Date: Mar 2008
Location: Australia
Device: Kindle
|
Thanks luite, it is working really well!
Now dictionary look-up has been incorporated, this is the ideal DjVu reader. |
Advert | |
|
02-14-2010, 09:11 AM | #3 |
Lazy Git
Posts: 124
Karma: 1266
Join Date: Jun 2009
Location: The soggy Emerald Isle
Device: iRex DR800S
|
Are you going to attempt to port it to 3.0 (DR800) or wait till the 3.0 DR1000 firmware comes out?
|
02-14-2010, 09:22 AM | #4 | |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
Quote:
If there is interest, I'll certainly try to port it. Porting seems easy enough, the interfaces have changed only a little. I don't have a DR800, so I can only test it in the emulator, unfortunately (donations are welcome though ). |
|
02-14-2010, 04:04 PM | #5 |
Addict
Posts: 234
Karma: 214
Join Date: Nov 2008
Device: Galaxy Note 3, Galaxy NotePro 12.2, InkBook
|
Thanks!
|
Advert | |
|
02-15-2010, 10:26 AM | #6 |
Zealot
Posts: 138
Karma: 70
Join Date: Jan 2009
Location: Louisiana
Device: irex dr1000s; Pocket edge
|
luite,
Nice job on the plugin. I installed the 0.2 version and converted some problem PDFs with any2djvu and it works very well. Thanks for opening a new door for the device and, for that matter, for me: I had no experience with DJVU files until I tried the plugin. The any2djvu discovery helped too. td |
02-15-2010, 11:30 AM | #7 |
Addict
Posts: 234
Karma: 214
Join Date: Nov 2008
Device: Galaxy Note 3, Galaxy NotePro 12.2, InkBook
|
2-page split is a great feature. I was wondering if it was possible to implement it in the PDF plugin?
|
02-15-2010, 12:32 PM | #8 | |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
Quote:
I'm also not very happy with the way the two page split mode is implemented. It's not a big deal to rename a file, but I'd rather have a button for it in the popup menu (or a sub-menu, so that we can have multiple split modes for two and three column pages for example). But I don't think the plugins are supposed to add buttons to the popup menu directly. |
|
02-15-2010, 12:54 PM | #9 | |
Addict
Posts: 234
Karma: 214
Join Date: Nov 2008
Device: Galaxy Note 3, Galaxy NotePro 12.2, InkBook
|
Quote:
Thanks again! :-) |
|
02-15-2010, 01:09 PM | #10 | |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
Quote:
Other applications, like the file/directory browser (ctb, content browser) do have a different set of icons. If you know a (good) way to actually add new icons from a plugin, please let me know how |
|
02-20-2010, 03:21 PM | #11 |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
I've been trying a few things to get extra buttons for djvu documents in the popup menu (1 page / 2 page toggle for now, but I'd like to add a few more options, like brightness/contrast, dithering on/off, show background or not).
Apparently it is possible to add buttons from the plugin to the popup menu (using eripc calls), but the events are then handled by uds itself, which of course doesn't know anything about the new buttons ( (ERROR)uds_view_reading.cpp:798,handle_command_eve nt() Unhandled command event: 1 ), so I'm not sure if it's possible to do anything useful with them. |
03-07-2010, 10:43 AM | #12 |
Zealot
Posts: 138
Karma: 70
Join Date: Jan 2009
Location: Louisiana
Device: irex dr1000s; Pocket edge
|
Luite,
I have been making regular use of the plugin, and its has been working well. I have converted pdf files that were originally produced as image files. They now open quickly and are text searchable to boot. Thanks again. td |
03-27-2010, 12:37 PM | #13 |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
Good to see that you like my plugin tjdean256 I use it myself for scanned files and converted PDF files that originally displayed extremely slowly (complex PDF files with lots of images, and some pdf files with bitmap fonts).
I have finally had a little time to work on the plugin again. I now have a working version on the DR800 emulator, updated to the new UDS interfaces. It's not really done yet (no installer), and I still need to do a little more testing. Text search works, but no zooming obviously, as the DR800 currently lacks that functionality. Last edited by luite; 03-27-2010 at 01:45 PM. |
05-20-2010, 05:13 PM | #14 |
Member
Posts: 11
Karma: 10
Join Date: May 2010
Device: DR800S
|
Is it possible to download the DR800 version of the djvu plugin somewhere?
Maybe you can also post the sources/compilation instructions? I hope that iRex will add suport for djvu in the firmware. |
05-21-2010, 08:52 AM | #15 |
Connoisseur
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
|
The DR800 plugin is not yet available for download. The problem is that it doesn't work on the new beta firmware, and I can't fix it until irex releases the source code. Since many people probably already run the beta firmware, and the old firmware doesn't support zoom, I want to wait for the final release of the firmware. This way, the same plugin can (hopefully) be used on the DR1000.
Unfortunately, this release seems to take longer than expected. I run the beta firmware on my DR1000, but I'm thinking of downgrading to 1.7.1 if it takes much longer. |
Tags |
djvu, dr1000s, irex, plugin, uds |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 Plugin development for DR800/DR1000 | yuri_b | iRex Developer's Corner | 0 | 09-18-2010 09:46 AM |
Wanted: DjVu Plugin for DR800 | martienne | iRex | 14 | 06-07-2010 05:57 PM |
DR1000 Is there any way to read djvu file on DR1000 version 2.0 system | shuozhifenxi | iRex | 2 | 04-12-2010 02:16 AM |
Difference between emulator and real device (developing uds plugin for djvu) | luite | iRex | 7 | 03-03-2010 08:55 PM |
DjVu plugin for DR1000 (testers wanted) | luite | iRex | 42 | 02-13-2010 02:19 PM |