-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
globalHash: exclude some settings on initial loading
If not yet rendered (initial loading with XML parsing), we can ignore some global flags that have not yet produced any effect, so they can possibly be updated between loading and rendering without trigerring a drop of all the styles and rend methods set up in the XML loading phase. This is mostly only needed for TextLangMan::getHash(), as the lang can be set by frontend code after the loading phase, once the book language is known from its metadata, before the rendering that will use the language set. With KOReader, this should speed up a book first load where its language is not yet known, and is different from the default or fallback typography language.
- Loading branch information
Showing
2 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters