|10-23-2007, 02:22 PM||#1|
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Community iPDF - Patch submissions
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 a patch that you would like considered for inclusion, post it in this forum. Please put ONLY patch submissions in this thread.
Required Submission Components :
I will not necessarily include every modification in the community iPDF viewer. I may decline to include a patch for many reasons, including poorly written code, buggy code, lack of testing, irreconcilable conflicts with other patches, and excessive complexity of the UI. Having said that, I hope to see lots of great patches and I will include as many as I can!
Please put ONLY patch submissions in this thread. I will start a second thread for discussion of the community iPDF project and its component patches. Thanks!
|10-27-2007, 08:05 AM||#2|
Join Date: Oct 2007
column mode patch
These patches add a new column mode in addition to the page/contineous modes in portrait view to ipdf irex rev 25 / stock 2.11.
Please note that a pdf does not specify anything regarding textwords / lines / columns / flows. The poppler library, that is used by ipdf to render pdf files, has a textoutput device that makes use of a number of heuristics to determine words, lines and columns. This textoutput device is also used in the poppler tool pdf2text.
With a small interface adjustment in poppler (poppler.patch), ipdf can query poppler about rendered text columns (ipdf.patch).
How to try:
These arm binaries have the modified poppler library linked in statically, i.e. you can give one of them a go by simply copying it to /usr/bin/ipdf.
When using ipdf, try
/sbin/syslogd -s 500 -b 0 -O log
and take a look at the file 'log' to see what it is doing.
Ps. the static linking clobbers a securityhandler in poppler. My guess is that password protected pdfs will fail with this ipdf. This goes away if you compile from the source (ipdf-column.tgz) and copy both the new poppler library and the new ipdf to your iliad.
|11-02-2007, 04:46 AM||#3|
Join Date: Mar 2007
Here is a patch providing gestures and quick erase. I haven't tested it too much yet, but it does seem to work.
Not that many functions are defined, and the only directions recognized is left, right, up and down. So no diagonal lines here. :-D
To start a gesture:
Press and hold for a short second, then draw the gesture. The LED turns on if in gesture mode. If you wanted to draw one, but failed (no LED), stop and hold will turn the line into an erase line. This will delete the line, but also scribbles under the line...
Quick erase is just as before, draw something, but stop and hold still for a second before releasing. The line and lines that were passed will be deleted.
The pre-defined gestures are:
LEFT-UP: darker color
LEFT-DOWN: lighter color
RIGHT-UP: Thicker pen
RIGHT-DOWN: Thinner pen
RIGHT-DOWN-LEFT-UP (draw a box): Zoom in using the box (very cool!)
DOWN-UP: Refresh the screen
Any feedback from testing is very welcome!
Edit: Fixed a bug where the erase line on quick erase was not erased itself.
Edit2: This patch also provides saving pen settings to the manifest file and reading it on startup. I had forgotten all about that. :-)
Last edited by rincewind; 11-03-2007 at 06:52 AM. Reason: Forgot to mention functionality
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Interview with DAW Submissions Editor||jaxx6166||Writers' Corner||1||10-09-2010 10:32 PM|
|Submissions for DirectEbooks.com - Romance||Direct Ebooks||Writers' Corner||0||05-27-2010 04:14 AM|
|Call for submissions||Douglas Rhodes||Writers' Corner||11||07-20-2009 02:58 PM|
|iLiad Community iPDF - Discussion||jharker||iRex Developer's Corner||67||11-17-2007 07:00 PM|