09-22-2007, 09:13 PM | #1 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open source LRF viewer
libprs500 0.4.1 has an open source cross-platform LRF viewer that supports hyphenation (for english) and uses real fonts instead of the SONY's limited three. Use it from the command line (for the moment) by
Code:
lrfviewer mybook.lrf It doesn't support the DrawChar tag as yet (Used to make drop-caps) and the search functionality is not implemented. |
09-22-2007, 10:11 PM | #2 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is it going to support full justification instead of left justification?
|
Advert | |
|
09-22-2007, 10:30 PM | #3 |
Recovering Gadget Addict
Posts: 5,381
Karma: 676161
Join Date: May 2004
Location: Pittsburgh, PA
Device: iPad
|
Wonderful.... this provides a spark of hope for long term readability of the non-DRM'd BBeB files!
|
09-22-2007, 11:04 PM | #4 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
09-22-2007, 11:06 PM | #5 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
Advert | |
|
09-22-2007, 11:11 PM | #6 |
Technogeezer
Posts: 7,233
Karma: 1601464
Join Date: Nov 2006
Location: Virginia, USA
Device: Sony PRS-500
|
This is a wonderful addition to libprs500. Karma is on its way.
|
09-22-2007, 11:13 PM | #7 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
09-22-2007, 11:13 PM | #8 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
09-22-2007, 11:34 PM | #9 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
09-22-2007, 11:43 PM | #10 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's already there.
|
09-22-2007, 11:53 PM | #11 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you look at the photo I have attached, what you will see is left justified, not full justified.
|
09-23-2007, 12:06 AM | #12 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ahh I see, you mean adjusting the space between words so that the line ends at the same point. Yeah I can do that, but I'm not sure it's a desirable goal. The SONY reader does it and I think it looks worse. Of course, with hyphenation it doesn't look as bad since the adjustments to wordspacing are typically smaller.
|
09-23-2007, 12:10 AM | #13 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If Sony supported Hyphenation, then the word spacing would almost be the same on every line. You might have the odd line here or there where auto-hyphenation won't work, but it would look better overall. The best way to do hyphenation is to use a dictionary to lookup the words.
|
09-23-2007, 12:21 AM | #14 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
My viewer does precisely that. It uses the Liang hyphenation algorithm, which is the same as that used in Tex. However to achieve perfect justification you have to combine that with flexible word spacing, which works well in books that have small print, but I don't think it looks so good at the larger sizes at which electronic documents are typically viewed.
|
09-23-2007, 12:24 AM | #15 |
Resident Curmudgeon
Posts: 76,509
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Well to be honest, other then the hyphenation, it looks like we are viewing on a simulated Libre. I do think full justification would look fine. I get it justified using MS Reader on my computer and I have no complaints that it's not left justified.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 09:46 PM |
Open source | bradrice | Kindle Formats | 2 | 12-21-2009 10:30 AM |
Source for iRex Univ. Document Viewer? | mlim | iRex | 1 | 08-19-2009 12:46 PM |
iRex and Open Source | jrial | iRex | 8 | 03-03-2009 11:34 AM |
iLiad Is source code of iLiad image viewer available? | ericshliao | iRex Developer's Corner | 1 | 01-16-2008 03:24 AM |