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 09-01-2019, 04:01 AM   #3106
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Great, thanks!
Alternatively, I changed the list of font-size presets in defaults.lua (adding 25), then I can set it as default font size in GUI.
Will this changes in defaults.lua and/or settings.reader.lua keep after updating koreader?
Thanks
pblasi is offline   Reply With Quote
Old 09-01-2019, 05:25 AM   #3107
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
defaults.lua? Well no, you'd have to use persistent.defaults.lua as it says on the first two lines here.

Settings will of course persist.
Frenzie is offline   Reply With Quote
Advert
Old 09-02-2019, 05:15 AM   #3108
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Thanks Frenzie.
Now I'd like to modify the contrast preset defaults, but I can not find the list of values in "defaults.lua". Where can I find it?
Thanks!
pblasi is offline   Reply With Quote
Old 09-02-2019, 06:45 AM   #3109
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Most values seem to be hardcoded, e.g., here. But if might be better to provide some information about what you're trying to accomplish? Just because the program is a certain way doesn't mean it's set in stone.
Frenzie is offline   Reply With Quote
Old 09-02-2019, 07:37 AM   #3110
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Quote:
Originally Posted by Frenzie View Post
Most values seem to be hardcoded, e.g., here. But if might be better to provide some information about what you're trying to accomplish? Just because the program is a certain way doesn't mean it's set in stone.
Well I'd just like to set a more useful range of contrast values for the font I'm using in my epubs and according to my taste. For example, a range of 0.9 to 2.0 with 0.1 step would be better to me. So, if it's hardcoded, it means I cannot change this preset values?

In general for the entire UI, and in addition to to existing graphical preset-based GUI, having option to enter an exact value with a numerical pop-up keyboard would be great (as long-pressing is for info, let's say double-tap to enter exact value, as an example). That would open the doors of fine tuning control for those who want it but keeping the GUI clean and simple. With all the customization power and features koreader has, I think this little feature would be a very well integrated and nice addition. I don't know where's the place to make this kind of suggestion...

Thank you!
Pau
pblasi is offline   Reply With Quote
Advert
Old 09-02-2019, 09:27 AM   #3111
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by pblasi View Post
Well I'd just like to set a more useful range of contrast values for the font I'm using in my epubs and according to my taste. For example, a range of 0.9 to 2.0 with 0.1 step would be better to me. So, if it's hardcoded, it means I cannot change this preset values?
You can set anything you want in defaults.persistent.lua or settings.reader.lua. It just means you can't (persistently) adjust what you can set through the GUI.
Frenzie is offline   Reply With Quote
Old 09-02-2019, 09:55 AM   #3112
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Quote:
Originally Posted by Frenzie View Post
You can set anything you want in defaults.persistent.lua or settings.reader.lua. It just means you can't (persistently) adjust what you can set through the GUI.
Sorry I'm missing something... How can I set a contrast of 1.3?
pblasi is offline   Reply With Quote
Old 09-02-2019, 10:03 AM   #3113
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
There's https://github.com/koreader/koreader...aults.lua#L101 and kopt_contrast for settings.reader.lua.
Frenzie is offline   Reply With Quote
Old 09-03-2019, 04:58 AM   #3114
pblasi
Enthusiast
pblasi began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2014
Device: Kobo Clara HD
Quote:
Originally Posted by Frenzie View Post
There's https://github.com/koreader/koreader...aults.lua#L101 and kopt_contrast for settings.reader.lua.
Well, for epubs at least, modifying https://github.com/koreader/koreader...aults.lua#L101 does not change contrast default.

Then, I guess you mean "copt_gamma" for "kopt_contrast" (in settings.reader.lua), but here the value is 15 when in GUI corresponds to a contrast of 1.0. Then setting a gamma of 18 results in a good contrast level (unknown 1.?) to me.

Thanks.
pblasi is offline   Reply With Quote
Old 09-03-2019, 06:06 AM   #3115
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Yes, copt_ is for crengine and kopt_ is for paged media.
Frenzie is offline   Reply With Quote
Old 09-29-2019, 11:07 PM   #3116
gothi
Junior Member
gothi began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: Kobo Forma
Refresh two (or more) times at every page turn

Hey there fellas,

Would it be possible to refresh the screen multiple times per page turn? I've noticed that with my old Kobo Aura, a single refresh just isn't enough to "clean" the screen and ghosting and artifacts remain. What I'm doing as a workaround at the moment is to do a force refresh using a swipe gesture just after a page turn. It's not really that inconvenient but I was just wondering if there's an easier way of forcing 2 (or more) refreshes per page turn. I've scoured the config files and I've checked online but I couldn't find any info about this.

With my new Kobo Forma, I don't have these ghosting/artifacts even after a refresh every 10 pages but on my old beloved Kobo Aura, which I still like to use on the train, it is just very evident.

Any help would be greatly appreciated. Thanks!
gothi is offline   Reply With Quote
Old 09-29-2019, 11:44 PM   #3117
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,803
Karma: 17500000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Not currently, no. You'd probably need a flashing white screen between pages, more than a double-refresh, as refreshing the same content twice is likely to do more harm than good, although that's less apparent on text than on mixed content .

The Aura was an odd duck in Kobo-land, as far as refreshes are concerned. You could try disabling explicit REAGL calls (basically, set that to false in the phoenix block near the bottom of ffi/framebuffer_mxcfb.lua).

Last edited by NiLuJe; 09-29-2019 at 11:47 PM.
NiLuJe is offline   Reply With Quote
Old 10-01-2019, 03:41 AM   #3118
gothi
Junior Member
gothi began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: Kobo Forma
Quote:
Originally Posted by NiLuJe View Post
You could try disabling explicit REAGL calls (basically, set that to false in the phoenix block near the bottom of ffi/framebuffer_mxcfb.lua).
Thanks, man! Tried this out but I don't think it makes any (noticeable) difference at all. Is this the same as disabling Regal in Nickel's developer options?
gothi is offline   Reply With Quote
Old 10-01-2019, 08:20 AM   #3119
Frenzie
Guru
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 897
Karma: 300000
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by gothi View Post
Is this the same as disabling Regal in Nickel's developer options?
It's likely comparable. Why, do you see a bigger difference in Nickel?
Frenzie is offline   Reply With Quote
Old 10-01-2019, 11:04 AM   #3120
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,803
Karma: 17500000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Note that the Nickel dev options are sometimes misleading (in that you may see a toggle for something the hardware doesn't actually support).

As the Aura is a very peculiar beast as far as REAGL is concerned, I can't be sure of what that toggle does without a strace (or, barring that, the eink bits from the syslog, possibly).
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1138 07-27-2019 10:52 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 03:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 05:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 03:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 09:25 AM


All times are GMT -4. The time now is 12:25 AM.


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