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 | |
---|---|---|
.. | ||
apps | 6 years ago | |
device | 6 years ago | |
document | 6 years ago | |
ui | 6 years ago | |
cache.lua | 6 years ago | |
cacheitem.lua | 10 years ago | |
configurable.lua | 8 years ago | |
dbg.lua | 6 years ago | |
depgraph.lua | 7 years ago | |
device.lua | 6 years ago | |
docsettings.lua | 6 years ago | |
dump.lua | 7 years ago | |
gettext.lua | 6 years ago | |
httpclient.lua | 8 years ago | |
logger.lua | 8 years ago | |
luadata.lua | 7 years ago | |
luasettings.lua | 6 years ago | |
luxl.lua | 10 years ago | |
optmath.lua | 8 years ago | |
pluginloader.lua | 6 years ago | |
pluginshare.lua | 7 years ago | |
random.lua | 7 years ago | |
readhistory.lua | 6 years ago | |
up_reg.list | 10 years ago | |
util.lua | 6 years ago | |
version.lua | 6 years ago |