Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2013, 02:41 PM   #31
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
for the jump to page in file formats that have no hard breaks you could have some approximation based on total number of characters or lines.

There's no option for justification in html files. Even pdfs (which should be much more problematic because of the unflexible format) sometimes look better, even with reflowing
h1ro is offline   Reply With Quote
Old 04-01-2013, 04:06 PM   #32
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by h1ro View Post
for the jump to page in file formats that have no hard breaks you could have some approximation based on total number of characters or lines.

There's no option for justification in html files. Even pdfs (which should be much more problematic because of the unflexible format) sometimes look better, even with reflowing
Nice thoughts, let us know when you get it implemented.

Would still like to hear the response of the person who made the "code this for me" request.
knc1 is offline   Reply With Quote
Advert
Old 04-02-2013, 11:47 AM   #33
Eithrial
Enthusiast
Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'
 
Posts: 25
Karma: 10000
Join Date: Jan 2013
Device: Kindle PW
Quote:
Originally Posted by knc1 View Post
And how can that target location be identified in the file?
Many of these formats do not have "hard" page breaks.
Quote:
Originally Posted by knc1
Would still like to hear the response of the person who made the "code this for me" request.
First, maybe what I have written sound like some kind of "order" to make some feature specially for me, but it's not like that. I really appreciate all work made by KOReader developers, and many other people while creating other software to improve kindle. All I wanted to say, that it would be nice to see this feature and that I don't know any reason why it should be hard to do for somebody who knows more or less about programming. Of course I know very little and I may be mistaken.

Second, I was talking mainly about pdf's which I think has page breaks, hasn't they?
Eithrial is offline   Reply With Quote
Old 04-02-2013, 12:30 PM   #34
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Sounds reasonable.

Perhaps this could be listed as a feature request on the github page?
twobob is offline   Reply With Quote
Old 04-02-2013, 02:13 PM   #35
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Yep, that would be a good place. Sometimes, it is a bit hard to distill ideas and suggestions out of a discussion. So, everybody feel welcome to file such things as issues on Github!
hawhill is offline   Reply With Quote
Advert
Old 04-02-2013, 02:47 PM   #36
daffy
Junior Member
daffy began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2013
Device: Kindle PW
Quote:
Originally Posted by knc1 View Post
And how can that target location be identified in the file?
Many of these formats do not have "hard" page breaks.
Without wishing to extend any support for this request, I might have an interpretation that would be workable with HTML:

Imagine a HTML file rendered to a virtual canvas featuring exactly the same width as the device's physical width. Then paginate the virtual canvas height by the device height. Voilá - paging

(The implementation would probably consume heaps of memory and CPU, not good).

Alternatively, allow for relative navigation in HTML, e.g. "plain" page down, "faster" page down (== 3x plain page down), "fastest" page down (== 9x plain page down) with exponential scrolling behaviour. This allows for faster navigation in what is inherently a single linear representation. For that to work, it wouldn't even be necessary to render to the output device. Rendering to a bitmap and blipping that in (in case the Kindle graphics stack supports that) would be sufficient, so this could be memory conservative.

Again, not supporting the feature request, just airing ideas
daffy is offline   Reply With Quote
Old 04-02-2013, 02:59 PM   #37
daffy
Junior Member
daffy began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2013
Device: Kindle PW
Manual cropping of PDF - user interaction?

I am having a bit of a challenge to accurately crop PDF files on my Kindle Paperwhite.

My interpretation of the cropping feature user interaction setup is that touching will assign the top-left and/or(?) bottom-right positions.

Now, touching with any accuracy on that screen seems to be a bit of a challenge (for me). Perhaps the following addition would allow for better cropping:

Take the auto-detected frame as the baseline. Split the screen into the four quadrants, each corresponding to one corner of the crop area. Swipe up/down in the quadrant to adjust the crop rectangle up/down; make this relatively insensitive to user input ("decelerated" touch).

I suppose that the Kindle supports swipe and touch as independent actions?
daffy is offline   Reply With Quote
Old 04-02-2013, 03:02 PM   #38
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by daffy View Post
..

I suppose that the Kindle supports swipe and touch as independent actions?
It does.
twobob is offline   Reply With Quote
Old 04-04-2013, 03:56 PM   #39
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by daffy View Post
Without wishing to extend any support for this request, I might have an interpretation that would be workable with HTML:

Imagine a HTML file rendered to a virtual canvas featuring exactly the same width as the device's physical width. Then paginate the virtual canvas height by the device height. Voilá - paging

(The implementation would probably consume heaps of memory and CPU, not good).

Alternatively, allow for relative navigation in HTML, e.g. "plain" page down, "faster" page down (== 3x plain page down), "fastest" page down (== 9x plain page down) with exponential scrolling behaviour. This allows for faster navigation in what is inherently a single linear representation. For that to work, it wouldn't even be necessary to render to the output device. Rendering to a bitmap and blipping that in (in case the Kindle graphics stack supports that) would be sufficient, so this could be memory conservative.

Again, not supporting the feature request, just airing ideas

Thanks for the brain strome

CREngine internally has the concept of virtual page. We can do navigation based
on virtual page of course. But the problem is virtual changes when you
retypeset the document(say zoom in). So it's a relative value and very tricky
to deal with.

What we did in kindlepdfviewer is we use percentage inside document for
navigation. So you will always jump to roughly the same location no matter how
you typeset the document. I think KOReader will also take this approach once
the goto feature is implemented.
dave2008 is offline   Reply With Quote
Old 04-05-2013, 09:51 AM   #40
Aj74
Enthusiast
Aj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toysAj74 shares his or her toys
 
Posts: 63
Karma: 5506
Join Date: Feb 2013
Device: Kindle Paperwhite
I thank all those who made the project.
Wishlist (if possible:
1. function searches the text (pdf, epub);
2. function "Go to page" (already asked ...)
3. link operation epub

Thank you.
PS: sorry for using the translator of "google"
Aj74 is offline   Reply With Quote
Old 04-06-2013, 08:17 AM   #41
wisecrick
Enthusiast
wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 31
Karma: 30000
Join Date: May 2012
Device: KT B011
Work very well! Good job!

One issue:
It's difficult to popup the home context menu on the file manager screen, so it's difficult to quit the application.
wisecrick is offline   Reply With Quote
Old 04-06-2013, 09:09 AM   #42
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by wisecrick View Post
Work very well! Good job!

One issue:
It's difficult to popup the home context menu on the file manager screen, so it's difficult to quit the application.
Is this the "Known Issue" as listed in post #2 ? or something else?
twobob is offline   Reply With Quote
Old 04-06-2013, 02:08 PM   #43
wisecrick
Enthusiast
wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.wisecrick can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 31
Karma: 30000
Join Date: May 2012
Device: KT B011
Quote:
Originally Posted by twobob View Post
Is this the "Known Issue" as listed in post #2 ? or something else?
Oh yes, it is.
I make a little modification to reader.lua to correct the issue (I almost know nothing about lua ^_^)

Code:
has_close_button = false 
->
has close_button = true

function FileManager:onClose(), insert
exitReader()
before
return true
wisecrick is offline   Reply With Quote
Old 04-06-2013, 03:06 PM   #44
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by wisecrick View Post
Oh yes, it is.
I make a little modification to reader.lua to correct the issue (I almost know nothing about lua ^_^)

redader.lua, line 151:
from
Code:
has_close_button = false
to
Code:
has close_button = true
redader.lua, line 173:
from:
Code:
	function FileManager:onClose()
		--UIManager:quit()
		return true
	end
to:

Code:
	function FileManager:onClose()
		--UIManager:quit()
		exitReader()
		return true
	end
Thanks for this tip.To have a bigger "close icon" I also changed 68th line of frontend\ui\widget\menu.lua to something like that:
Code:
		text = "-[ X ]-    ",
thomass is offline   Reply With Quote
Old 04-06-2013, 03:26 PM   #45
PaulFreund
*
PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.
 
PaulFreund's Avatar
 
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
Thank you very much, this wonderful software makes reading PDFs on the kindle bearable for me! (Duokan has similiar PDF capabilities, but its closed and has a few drawbacks such as loading time)

I would like to return the favour, but at the moment I don't have much time or money. I saw the source of koreader-base is well written and in c/c++. So if you need someone for testing or a debug session or even small implementations i'd be glad to devote a few hours.

I know this kind of offer is hard to evaluate but if you're interested just send me a task you'd like to get done.

Thanks again,

Paul
PaulFreund is offline   Reply With Quote
Reply

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


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 569 09-15-2024 10:13 AM
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1268 02-27-2024 12:49 PM
KPV: a PDF reader for Kindle, based on muPDF, GPLv3 hawhill Kindle Developer's Corner 1056 11-11-2017 04: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 09:13 AM.


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