Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-27-2018, 09:53 PM   #991
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,312
Karma: 2385865
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi

For me, the quality of the reading experience is the paramount quality of any engine to the point that I sometimes convert to custom PDF my -custom- ePubs to be sure to avoid all glitches.

This explains why I was so thrilled when the muPDF engine was made available in February 2018 as an alternative engine for Koreader users to read ePub I tested it at once, it looked very precise and promising but one key feature was missing: the user could not change the font size.

https://www.mobileread.com/forums/sh...=feature+muPDF

At first I thought that it was a small tune up which would be implemented quickly. For some reason, it did not happen, and we are about to celebrate the first anniversary of this new feature without having been given a chance to even read a single book with it.
roger64 is online now   Reply With Quote
Old 11-28-2018, 03:57 PM   #992
Frenzie
Evangelist
Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.
 
Posts: 478
Karma: 111618
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I mainly hoped to motivate others to improve upon it. I'm afraid I haven't really had much time to look at it. That was one year ago already? Wow.

As an aside, while really stupid in principle, reflow actually works tremendously well on a MuPDF-rendered EPUBs.

I do apologize for not at least giving you the following information more explicitly, although at the time I hadn't actually tried it like I did now. As a basic workaround you could mod the PdfDocument file yourself like this:
Code:
diff --git a/frontend/document/pdfdocument.lua b/frontend/document/pdfdocument.lua
index 34f072e9..14ae115d 100644
--- a/frontend/document/pdfdocument.lua
+++ b/frontend/document/pdfdocument.lua
@@ -42,6 +42,8 @@ function PdfDocument:init()
     if not ok then
         error(self._document)  -- will contain error message
     end
+    local Screen = Device.screen
+    self._document:layoutDocument(Screen:getWidth(), Screen:getHeight(), 50)
     self.is_open = true
     self.info.has_pages = true
     self.info.configurable = true
In a diff file, + means added lines and - means removed lines.

So basically just add those two lines in that location:
Code:
    local Screen = Device.screen
    self._document:layoutDocument(Screen:getWidth(), Screen:getHeight(), 50)
The "50" here is a font size value that you can play around with.

The problem is integrating it properly into the UI, and even purely code-wise that's a just quick hack instead of proper code that can actually go into the program.

But of course perfection is the enemy of progress. Proper code + configuration first, UI later. I can't promise anything though; my spare time may be limited.
Frenzie is offline   Reply With Quote
Advert
Old 11-29-2018, 06:26 AM   #993
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,312
Karma: 2385865
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
@Frenzie

To report success!!

Sorry for knocking insistently at your door.

I tried your patch, inserting manually these two lines with 50 value and it fits exactly. The display is perfect (at least on some pages of the trial ePub) with the same amount of lines per page it is intended to have.

As far as I am concerned, I shall keep it this way until further notice and shall test further this new muPDF ePub renderer. I'll need some days for it and shall report back here asap.
roger64 is online now   Reply With Quote
Old 11-30-2018, 12:51 PM   #994
ottischwenk
Connoisseur
ottischwenk began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Sep 2012
Device: Tolino Vision 3 HD, Tolino Shine 2 HD, Nexus 7 2012, Doogee Turbo F1
Picture of Touch screen functions

Is somewhere a picture of the touch screen Functions, where i can see, what happens when touching ina certain area?
ottischwenk is offline   Reply With Quote
Old 11-30-2018, 09:56 PM   #995
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,290
Karma: 6269823
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
Actually, you would need two main pictures and some sub-pictures for them, plus a number to cover the various plugins and the screens they may generate. For most of them you would also need to have a way to show the results for both a tap and a "long press". The various swipe gestures would be needed as well.

Perhaps, someone running the emulator could find a way to run a video capture program like is done for games. Then a video could be produced that would show the effects of the many touchscreen gestures. A "moving finger" cursor might be needed. It could be added in post editing.

Luck;
Ken

Last edited by Ken Maltby; 11-30-2018 at 09:58 PM.
Ken Maltby is offline   Reply With Quote
Advert
Reply

Tags
application, k5 tools, kindle, launcher add-ons, lua, reader, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) chrox KOReader 170 10-29-2018 02:05 PM
KPV: a PDF reader for Kindle, based on muPDF, GPLv3 hawhill Kindle Developer's Corner 1056 11-11-2017 04:07 AM
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1112 11-08-2017 07:07 AM
Hacked Up Reader for epub/fb2/txt/rtf/html/pdb/etc bhaak Kindle Developer's Corner 296 10-01-2016 02:11 PM
A real PDF to epub/djvu/rtf/html software?. DsOft ePub 35 01-02-2011 04:57 PM


All times are GMT -4. The time now is 10:31 PM.


MobileRead.com is a privately owned, operated and funded community.