04-24-2010, 12:00 AM | #1 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
TechPDF: Yet another PDF reader (technology preview)
Knowing in advance that I would be dissatisfied with the PDF reading on the IREX, I planned to write my own. And now I have! This is a PDF reader aimed towards those who usually read technical papers.
Features:
Unfeatures (features I don't have, and may or may not have in the future):
Bugs:
This is just a technology preview. I am not finished with this, but I'm at a point where it works so I'd like to show it off and ask other peoples' opinions. Here's the basic usage: Extract the .zip to your SD card. When TechPDF is run, it presents the user with a dialog to select a PDF file. It will normally look in the Books directory, but if you have a Books/TechPDF directory or TechPDF directory, it will prefer those (so you can organize as you please). When you've selected a file, it displays it in full-page mode, which is more-or-less exactly like the default in the standard IREX PDF viewer. You may at this point rotate as you please, and choose a strategy from the menu. When a strategy is chosen, it will refresh the screen into that strategy (duh). You can skip pages with the "go to page" optoin, and close the application also from the menu. Navigation is as per normal, flipbar or onscreen. If anybody finds this interesting or has comments or suggestions, feel free, I'd love your input. Source and binaries available at https://dev.mobileread.com/trac/tech...rsion0.0Alpha8 Change log:
Last edited by GregorRichards; 04-27-2010 at 05:34 PM. Reason: New version |
04-24-2010, 01:55 AM | #2 | |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Quote:
GTK_WIDGET_UNSET_FLAGS (widget, GTK_DOUBLE_BUFFERED); The problem of flickering also happens on iLiad. And it's still mysterious for me after so many trial and error. Sometimes, I can solve it with certain technique, sometimes, I can't. |
|
Advert | |
|
04-24-2010, 04:44 AM | #3 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
One note: if you don't use iRex bottom bar maybe you could make your app fullscreen. Iņigo |
|
04-24-2010, 06:40 AM | #4 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2010
Device: Irex DR800S
|
Thank you GregorRichards!
One question: what is the path (starting from / ) to the books folder of the SD card? (I am not able to find the pdf files) |
04-24-2010, 06:55 AM | #5 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
|
Advert | |
|
04-24-2010, 07:04 AM | #6 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2010
Device: Irex DR800S
|
Thanks! It works nicely for reading two column papers!
|
04-24-2010, 09:14 AM | #7 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
|
04-24-2010, 09:35 AM | #8 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
|
04-24-2010, 02:55 PM | #9 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
Just released alpha 4, which adds margin elimination. This is gettin' pretty OK
|
04-24-2010, 03:22 PM | #10 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Hi GregorRichards,
What's the purpose of "/media/mmcblk0p1/TechPDF" directory created in the shell script? I presume is the place you store the scientific .pdf files you aim to read with TechPDF. If it is, I think is a bad idea because it pollutes the SD file system. Another approach could be to pass an argument in the shell script with the initial path. |
04-24-2010, 04:06 PM | #11 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
That's the idea. It's a matter of organization ... they're not books, they're not personal documents, they're not news, and they're not something that I (at least, me personally) want to pollute the /rest/ of the SD filesystem. Perhaps the superior option would be to use TechPDF iff it exists, otherwise start in Books?
|
04-24-2010, 04:40 PM | #12 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
|
|
04-25-2010, 04:27 AM | #13 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Great to see how much effort you spend on improving your application. Did you also have a look at the (old) pdf viewer implementation of iRex which was used in the R1.7 firmware of the DR1000 (also uses poppler)? See the published source code: document-viewer-plugins\plugins\pdf. The file src/pdf_page.cpp, for example, also contains code to calculate the bounding box (PDFPage::get_content_from_bitmap) maybe there is more code you can reuse? |
|
04-25-2010, 11:25 AM | #14 | |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
Quote:
|
|
04-25-2010, 01:32 PM | #15 |
Connoisseur
Posts: 60
Karma: 151
Join Date: Apr 2010
Device: DR800SG
|
Just released alpha 5, which properly uses the DR's menu system, hooray
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony Reader Guide for creating optimized PDF content - Exclusive Preview | Bob Russell | Sony Reader | 51 | 06-22-2011 11:31 AM |
cropping pdf with preview | wang960 | Sony Reader | 2 | 05-05-2009 09:28 AM |
Things appearing differently on Calibre preview and on reader | ficbot | Calibre | 6 | 03-27-2009 04:05 AM |
Sony Reader preview by Associated Press | doctorow | Sony Reader | 0 | 09-26-2006 07:49 PM |
MSN Search Technology Preview 2 | Colin Dunstan | Lounge | 0 | 10-05-2004 04:57 AM |