|
|
#1 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open source LRF viewer
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. |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Is it going to support full justification instead of left justification?
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Gadget Fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,217
Karma: 545637
Join Date: May 2004
Location: Pittsburgh, PA
Device: iPad, Droid Charge
|
Wonderful.... this provides a spark of hope for long term readability of the non-DRM'd BBeB files!
|
|
|
|
|
|
#4 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#5 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Quote:
Full justification is where the right edge is not ragged. Like in most dead tree books.
__________________
|
|
|
|
|
|
|
#6 |
|
Technogeezer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,237
Karma: 148836
Join Date: Nov 2006
Location: Virginia, USA
Device: Sony PRS-500
|
This is a wonderful addition to libprs500. Karma is on its way.
|
|
|
|
|
|
#7 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#8 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#9 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Yes to full justification is going to be added to the viewer in some later version?
__________________
|
|
|
|
|
|
#10 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's already there.
|
|
|
|
|
|
#11 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
If you look at the photo I have attached, what you will see is left justified, not full justified.
__________________
|
|
|
|
|
|
#12 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
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.
|
|
|
|
|
|
#13 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
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.
__________________
|
|
|
|
|
|
#14 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
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.
|
|
|
|
|
|
#15 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
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.
__________________
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 08:46 PM |
| Open source | bradrice | Mobi | 2 | 12-21-2009 09:30 AM |
| Source for iRex Univ. Document Viewer? | mlim | iRex | 1 | 08-19-2009 11:46 AM |
| iRex and Open Source | jrial | iRex | 8 | 03-03-2009 10:34 AM |
| iLiad Is source code of iLiad image viewer available? | ericshliao | iRex Developer's Corner | 1 | 01-16-2008 02:24 AM |