mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
After set font in ReaderFont:onReadSettings, we have to send UpdatePos event in order to set m_is_rendered(member of LVDocView) to true. Otherwise position inside document will be reset to 0 on first view render, this makes the first page of document is always displayed on document open. So far, I don't know why this call will alter the value of m_is_rendered. It just works... |
12 years ago | |
---|---|---|
.. | ||
reader | 12 years ago | |
button.lua | 12 years ago | |
confirmbox.lua | 12 years ago | |
device.lua | 12 years ago | |
event.lua | 12 years ago | |
filechooser.lua | 12 years ago | |
focusmanager.lua | 12 years ago | |
font.lua | 12 years ago | |
geometry.lua | 12 years ago | |
gesturedetector.lua | 12 years ago | |
graphics.lua | 12 years ago | |
image.lua | 12 years ago | |
infomessage.lua | 12 years ago | |
inputevent.lua | 12 years ago | |
menu.lua | 12 years ago | |
readerui.lua | 12 years ago | |
rendertext.lua | 12 years ago | |
screen.lua | 12 years ago | |
time.lua | 12 years ago | |
ui.lua | 12 years ago | |
widget.lua | 12 years ago |