mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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...