Closed konos93 closed 5 days ago
FWIW, this would be clunky to user-patch, because the viewport affects the touch translation.
(But it would technically be feasible, Android does something like it to toggle the native status bar).
@hius07 @NiLuJe is there any way to check any logs? i can't restart and can't use the backup based on this https://github.com/koreader/koreader/issues/4810#issuecomment-473582136 i made some changes. the result is the image below. if i restart the device or koreader the image is the new screen size remain the same.
did something like
cd koreader/frontend/device/kindle/ cp device.lua backup.device.lua.backup nano device.lua
thank you
Looks like you reduced the height without moving the origin? (i.e., any amount subtracted from height should be added to top/y).
koreader/frontend/device/pocketbook
-- PocketBook InkPad Color 3 (743K3)
local PocketBook743K3 = PocketBook:extend{
model = "PBInkPadColor3",
display_dpi = 300,
viewport = Geom:new{x=3, y=2, w=1395, h=1864},
hasColorScreen = yes,
canHWDither = yes, -- Adjust color saturation with inkview
canUseCBB = no, -- 24bpp
isAlwaysPortrait = yes,
usingForcedRotation = landscape_ccw,
hasNaturalLight = yes,
}
viewport = Geom:new{x=3, y=2, w=1395, h=1864},
Original screen size 1404x1872. So you need smth about y=350, h=1520.
F:\applications\koreader\frontend\device\pocketbook
}
-- PocketBook InkPad 3 (740)
--here we are
-- viewport = Geom:new{x=3, y=2, w=350, h=1520},
-- w =1404 which is the same
-- x=0
-- y=350
-- h=1520.
-- so a 1872 >= y+h
--i got an error with y=400 and h = 1500
local PocketBook740 = PocketBook:extend{
model = "PBInkPad3",
display_dpi = 300,
isAlwaysPortrait = yes,
usingForcedRotation = landscape_ccw,
hasNaturalLight = yes,
viewport = Geom:new{x=0, y=560, w=1404, h=1304},
}
i love the internet and the fact that i could edit it
thank you
can i edit any config file to reduce the screen where the entire koreader runs?
my device is pocketbook inkpad 3 and the screen is broken.
however the blue part still working and i thought if koreader could run in this part of the screen.