10-23-2007, 03:27 PM | #1 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Community iPDF - Discussion
Historically, many people have proposed improvements to the pdf viewer. Many different versions of the viewer have been released, each with different features. To help solve this babel of versions, I propose that we create one centralized community version of the iPDF viewer, containing as many of the patches as can be comfortably combined together.
I'll volunteer to maintain this distribution, at least to start with. If you have comments, ideas, suggestions, or discussion, please post it here. Please post ONLY comments and discussion in this thread. Submit patches in the patch thread. I started this thread for discussion about particular patches, the project as a whole, and feedback for released versions. There is a second thread specifically for patch submissions. When the a release version is ready, I will start a third thread specifically for releases. What do you think? |
10-23-2007, 04:24 PM | #2 |
iLiad Maniac
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
|
Great idea. That would really make our lifes easier. Thanks for your work.
|
Advert | |
|
10-23-2007, 11:13 PM | #3 |
Connoisseur
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
This is actually a follow up from the other thread where I proposed a 2 column view. This afternoon I took a look at the ipdf source and partially implemented it, where "partial" means it only works with portrait view and only split the view 4 ways (for 2-column) and move in a direction like |/|. I also changed the zoom level for A4 to 300 instead of 200.
It took me a while to figure out the coordinate system, but in the end I got it to work as I intended. But I don't think I'll submit the patch because: 1. it's more of a hack than a well thought-out and well organized patch; 2. ipdf is fundamentally flawed in its way of doing zooms, and I don't think it's a good foundation to start with; 3. ipdf itself is not well designed, and the division between portrait and landscape views is also flawed, and results in redundant code for all future patches. Seriously, I suggest someone start writing a new PDF viewer for iLiad instead of patching ipdf. Given that the size of ipdf is relatively small, just fixing 2 and 3 is almost a rewrite. While I'm at it, it'll also be super to have anti-aliased sketching like in xournal, which, by the way, allows loading and annotating PDFs, or maybe somebody like Adam should just port it to iliad :-) I'm attaching my 2-column ipdf binary here just in case it might be useful to somebody else. Make sure you backup /usr/bin/ipdf binary before using this to replace it. Use uparrow (I re-used the same button from jharker's fullscreen patch, I'm lazy!) to toggle column view, use normal flip to go forward and backward. Last edited by alanine; 10-24-2007 at 07:04 PM. Reason: add link to xournal |
10-24-2007, 09:41 AM | #4 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Would it be feasible to allow users to pick the patches they want and apply them with some sort of patch management system, or would that just be asking for trouble?
The patches I'd particularly like are the comments/bookmarks and column browsing. The full-screen thing never really mattered to me, but it would be ok if the new version has that, too, if an individual patch system doesn't make sense. |
10-24-2007, 10:49 AM | #5 |
iRex Community Manager
Posts: 30
Karma: 223
Join Date: Nov 2006
Location: Eindhoven
Device: iRex iLiad
|
Nice initiative Jharker, we might be interested to make it into an iRex Community Project. This would mean that we could integrated certain features into the stock viewer.
If you are interested let me know, we are happy to provide a development iLiad and support. |
Advert | |
|
10-24-2007, 03:13 PM | #6 |
Connoisseur
Posts: 58
Karma: 479
Join Date: Mar 2007
Device: iLiad
|
JHarker, excellent initiative!
First off though, do you need some of my patches again, or are you happy with them still? I guess it's really only quick erase and scribble toggles that are in at the moment. I also agree with alanine, in that specially the landscape/portrait views are badly implemented. I do however believe it would be fairly simple to create a parent class with all but the x-y calculation humbo jumbo left out, then inherit from that one to create the specific views. Maybe I should take a look at "evince", the Gnome document viewer. I believe it is largely a GTK app, with Gnome libs for printing (which we could manage fine without), and it supports some nice things like thumbnails, remembers last position , indexes and so on. Also, it supports more than just PDF, but you can google for evince by yourself. :-) It's a fast application, but would require integration with scribbles, hardware buttons and there is no rotate function. It does however have continous mode. Does anyone know if xrandr is supported on the iLiad? If it was, we could just rotate the X display... The rest should be pretty automatic. Edit: Karel, I believe you mentioned (someone at iRex at least) that you would provide a "community" SVN branch. It would be excellent to have access to the full community IPDF source in a proper environment. Edit2: And evince can rotate documents, and it does so *very fast*. I'll se if I can figure out the dependencies and see if I can make it work. /r Last edited by rincewind; 10-24-2007 at 03:16 PM. |
10-25-2007, 08:46 AM | #7 |
Junior Member
Posts: 7
Karma: 221
Join Date: Oct 2007
Device: iliad/nokia9500
|
Excellent idea JHarker.
You might want ppl to post patches against the latest released community version as well as against the irex standard in order to minimize the integration work. Apart from the portrait/landscape code overlaps I feel that the ipdf renderer needs some work:
Also, there is a lot of non-functional whitespace in the irex code; not important in any sense but nice to remove if we are going to clean house anyway. |
10-25-2007, 11:14 AM | #8 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
If you're going to be overhauling the pdf viewer, I'd like to see a thumbnail view page selector. I.e., display a 4x4 grid of page thumbnails with scribbles, and allow the user to tap one to go to that page. Page bar to view the next set of thumbs (which could probably be generated in the background while the user is scanning the first screen). This would allow quick navigation to places where we've made notes, as well as other easily recognizable pages. Often we can recognize pages by the general shape of the text, as well, so if we're looking for a page with a particular illustration or a long passage of dialog, we'd be able to get there more quickly. Page turning on the iLiad is a bit slow due in part to the e ink refresh rate -- I'm thinking this would help take the place of quickly fanning through a book or notebook to find a particular page.
|
10-26-2007, 03:10 PM | #9 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Hi, everybody! Wow, lots and lots of great responses! Things have been really busy the past couple of days and I haven't had time to respond the way I'd like, but I wanted to let you know I'm still here!
Here's a somewhat abbreviated reply...
While we're throwing out ideas, here's one aimed at Rincewind because you've done a lot with gestures, and I don't know what you've already done that I haven't seen... If some simple, easy-to-use gesture-based UI could take the place of the erase, pan, scribble, and zoom buttons, that would clear up a lot of toolbar space. I'm thinking of something as intuitive as the iPhone gestures...? Regarding the portrait/landscape split, the two are even more alike than you might suspect. If you compare the differing math sections, you'll see that they LOOK different because they're written differently... however, if you actually do the math you'll see that many of the calculations do the same thing, just using different variable names or a slightly different order of calculations (i.e. in portrait it's foo = bar - x; and in landscape it's foo = bar; foo -= x; ). So I suspect that once these incongruities are ironed out there will be very few places where it's actually different. As far as I know, iRex is still working on a modular viewer base that will eventually replace iPDF. Does anyone know if that's still in the works? And whether it will be open-sourced? Okay, that's all for now, I have to get back to work! So far so good! Let's see those patches! |
10-26-2007, 05:40 PM | #10 |
Connoisseur
Posts: 58
Karma: 479
Join Date: Mar 2007
Device: iLiad
|
Very well, I'll get around to updating the patches for the svn version, and posting them. :-) Hopefully I'll have some more time to fiddle with this as I just finished my PhD the other day. :-D
As far as I know (this was the story some months ago at least), the new wunder-viewer from iRex will be closed source. So, if we do a massive clean-up of iPDF, I for one will keep using it even after the new viewer has been made... When it comes to gestures, I have got some work to do. I'll either find some free library to recognize gestures, or create something myself. I really would like a map of gesture-to-function, making it possible for users to configure or customize them if they like. The iPhone is a multi-touch screen, meaning that for example zooming (drag two fingers away from each other) does of course not work on the iLiad. I hope to create/use something that allows me to specify gestures as right-downleft-right (for a Z) and map that to a function. On a somewhat different note, I really would like to have a mode to let my iLiad control a presentation... I would then have the presentation (with some notes) on the iLiad, and when I press "next page", it would send a message to the computer doing the displaying... Anyone else in for something like this? /R |
10-26-2007, 11:24 PM | #11 | |
Connoisseur
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
Quote:
|
|
10-27-2007, 03:00 PM | #12 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Oct 2007
Device: irex iliad
|
Excuse me. Could you please tell me how to install and simply add the column mode (made by WPD) function to my ipdf without cancelling the functions of bookmarks and fullscreen? Could one be so kind to make an installer? I am sorry for my ignorance. Thank you very much.
|
10-27-2007, 07:23 PM | #13 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Hi, good153! At the moment, there's no way to do that until someone makes a version that includes all the improvements. But you came to the right place, because that's exactly what this project is about! As soon as those patches are submitted, I'll be releasing a version of ipdf that includes all those features.
Which reminds me, since I'm the author of the fullscreen patch, I guess I should submit it. |
10-28-2007, 04:26 AM | #14 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Theoretically one could make a content-lister runnable patch script with the ability to trigger patch application and a recompile, if there were a compiler ported to the iLiad itself... but that really seems like overkill (if doable at all).
I'd really like the multicolumn feature myself, though. I think I'd use it more than any other community-generated feature, with the possible exception of comments/bookmarks. However, from the description, I think the multicolumn feature as written would only work for text-based PDFs, not image-based (scanned) PDFs. Am I misinterpreting the patch description? |
10-28-2007, 07:29 AM | #15 |
Addict
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
|
This is correct. It is based on text, so you would not benefit when reading scanned PDFs.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
hello community | jarrj | Introduce Yourself | 6 | 08-28-2010 07:20 PM |
Hello to our community! | fooziex | Introduce Yourself | 8 | 05-21-2010 03:30 PM |
Hello to the community! | oldgollum | Introduce Yourself | 4 | 09-05-2008 02:50 PM |
Hi to the community | Vauh | Introduce Yourself | 2 | 12-23-2007 04:35 PM |
iLiad Community iPDF - Patch submissions | jharker | iRex Developer's Corner | 2 | 11-02-2007 05:46 AM |