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.
c1206888ab
Setting the hyph algo before loading the document may save crengine from re-doing some expensive work at render time (the hyph algo is accounted in the nodeStyleHash, and would cause a mismatch if it is different at render time from how it was at load time - "English US" by default - causing a full re-init of the nodes styles.) We will only re-set it on pre-render (only then, after loading, we know the document language) if it's really needed: when no algo saved in book settings, no default algo, and book has some language defined. |
6 years ago | |
---|---|---|
.. | ||
credocument.lua | 6 years ago | |
djvudocument.lua | 7 years ago | |
document.lua | 6 years ago | |
documentregistry.lua | 6 years ago | |
koptinterface.lua | 7 years ago | |
pdfdocument.lua | 6 years ago | |
picdocument.lua | 7 years ago | |
tilecacheitem.lua |