View Single Post
Old 10-18-2021, 03:31 PM   #2
Frenzie
Wizard
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: 1,755
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
You can do the same thing on Kindle more easily (although I'm not sure otoh if you can do it as persistently).

See here for an example:
https://github.com/koreader/koreader...evice.lua#L123

It'll probably suffice to add a similar viewport to the Kindle4 definition:
https://github.com/koreader/koreader....lua#L319-L328

According to https://wiki.mobileread.com/wiki/Amazon_Kindle_4 it's 800 × 600, so for a viewport that's presumably something like:

Code:
viewport = Geom:new{x=0, y=0, w=600, h=500}, -- 800 - 300 = 500, just a guess but easy to adjust
If there's something weird going on (like the screen is upside down) then you'll have to use something like y=300, h=800 instead.
Frenzie is offline   Reply With Quote