View Single Post
Old 12-24-2015, 09:55 PM   #879
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 font332 View Post
Where are they?
And does it mean that there is explained how to do that or there is explained why it is not and won't be possible?
See:
https://github.com/koreader/koreader...ilemanager.lua
@line: 40

Translation: It is currently hardcoded.

Change code in that function to read defaults.lua and over-ride the hardcoded size if user has entered something different in their local configuration defaults.

There is a function for getting a named value out of the defaults.lua file and plenty of examples of its use through-out the code.
knc1 is offline   Reply With Quote