![]() |
#1 |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
FBReader port to (Lbook|Hanlin) V3
I'm porting FBReader to the lbook v3. You can try it by flashing the modified firmware. Here are the instructions:
* flash this fw: V3_20080129_LIB1503_2.zip (this is the modification of the recent original lbook fw) * create a directory in the internal flash named 'lib' * copy this file into lib directory: libfb2.so After that, fb2 and fb2.zip files will be opened with the fbreader plugin. Other formats supported by fbreader can also be viewed, but you need to zip them first and rename the resulting archive to *.fb2.zip. You can also change some settings in the .FBReader/ui.xml file in the internal flash, here is my sample config: ui.xml There is a possibility to hot-swap the fb2 plugin with just swapping the libfb2.so file in the lib directory. Here are the plugin from the original lbook fw: libfb2.so and the new beta version of the same plugin: libfb2.so Last edited by lunohod; 03-19-2008 at 10:49 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Interesting, but I don't really see the advantage, if you don't mind me saying so. The crengine-based FB2 reader already is quite excellent IMO, and has several very nice features that seem to be missing from FBReader.
That said, if an FBReader port to the V3 could be made part of the firmware in such a way that reading un-DRMd Mobipocket became a possibility, THAT would be quite useful. |
![]() |
![]() |
![]() |
#3 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
There are also other interesting features which are not present in Coolreader yet. Last edited by lunohod; 03-19-2008 at 11:33 AM. |
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Mind, I would very much like to see FBReader on the V3 for its ability to read Mobipocket, but as far as I am concerned this requires extending the bookshelf app to support this format. |
|
![]() |
![]() |
![]() |
#5 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
I'm already using FBReader as my primary fb2 reader on my v3 and I do not see much difference to the Coolreader. ![]() |
|
![]() |
![]() |
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Also, I zipped up HarryT's "Sherlock Holmes Omnibus.prc" and renamed the zip file to "Sherlock Holmes Omnibus.fb2.zip", but I can't open the file: after processing the file for a while I get thrown back to the bookshelf. |
|
![]() |
![]() |
![]() |
#7 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
Custom fonts are supported. You can put the fonts into the fbreader/fonts/ directory(sd-card) and change the settings in the .FBReader/ui.xml file located in the internal flash. I had no problems with "Sherlock Holmes Omnibus.fb2.zip" file... |
|
![]() |
![]() |
![]() |
#8 |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
btw, fbreader plugin will also find the fonts in the crengine/fonts directory
|
![]() |
![]() |
![]() |
#9 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
It is good to see FBReader on another device.
Since it is open source software, there should be no obstacles to lBook adding this to the standard configuration. It could then be optional (or not available) for FB2 and RTF, while adding support for many other formats (MOBI, EPUB, OEB, Plucker, ...). |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Result: FBReader uses the default sans serif font for displaying the text body of fb2 books, not the configured "Free Serif" font. The same happens when I replace the FBReader libfb2.so with the crengine-based libfb2.so, i.e. it ignores the /crengine/fb2.css on the SD card. Switching back to the original 2008-01-29 firmware (and doing nothing else) gets the user-configured fonts back. |
|
![]() |
![]() |
![]() |
#11 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
<option name="Base:fontFamily" value="FreeSans"/> <option name="Section Title:fontFamily" value="FreeSerif"/> |
|
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Also, for the Mobipocket support: Do I need to also rename the .prc file to .fb2 before zipping, or is it enough to zip the .prc and rename the .zip file to .fb2.zip? |
|
![]() |
![]() |
![]() |
#13 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
The font name "FreeSans" is definitely without spaces under linux. ![]() |
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() Posts: 128
Karma: 41
Join Date: Nov 2007
Device: Hanlin V3
|
Would it be possible to associate the .prc files directly to the FBreader app in the firmware? This way we would have *finally* the long awaited mobipocket support. BTW.. just out of interest.. How did you implement the FBReader and the moddified firmware in the first place?
|
![]() |
![]() |
![]() |
#15 | |
OpenInkpot developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 5627
Join Date: Mar 2008
Location: Stuttgart, Germany
Device: N516,V3,PRS505,iLiad,eSlick,E60,K3,K4NT,M90,PB912,KoboMini
|
Quote:
The FBReader plugin is implemented the same way as Coolreader, as a plugin for the proprietary viewer application. It will be loaded when you try to open .fb2 or .fb2.zip file. I've just added the fbreader files into /usr/share directory and exchanged the /usr/lib/libfb2.so with a link to /home/lib/libfb2.so, so it is possible to hotswap the fb2 plugin without flashing the new firmware. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hanlin v5 LBook firmware fully in english? | Blue Ion | HanLin eBook | 5 | 02-03-2010 07:07 AM |
FBReader OSX Port | wallcraft | Reading and Management | 5 | 03-19-2009 09:41 AM |
PRS-500 FBReader? Is anyone working on a port? | delphidb96 | Sony Reader Dev Corner | 3 | 07-29-2008 03:08 AM |
Hanlin/Lbook and Mac | Fake51 | HanLin eBook | 5 | 07-18-2008 07:53 AM |
Hanlin V8/LBook Reviews! | CommanderROR | HanLin eBook | 41 | 06-04-2007 02:27 PM |