summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-09 00:30:17 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-09 00:30:22 +0200
commitd9789be6dbd9d77cb4091800f6b50580b25e1868 (patch)
tree89b77e4826b4fec577e316dc903057d272654680 /src/luaotfload-database.lua
parenta4d0725cce7f78e295491e7e969eff3c0aa07bef (diff)
downloadluaotfload-d9789be6dbd9d77cb4091800f6b50580b25e1868.tar.gz
[aux,init] move lazy char-def loading code into earlier stage of initialization
The fontloader requires parts of the ``characters`` table to be present at load time. This turns out to interfere with our custom of installing the lazy loader for the table components only after the fontloader has been injected. Since inserting the code at the appropriate place in the loading chain would be tedious and unmaintainable due to the various load options, we just preinstall the metatable onto an empty table prior to loading the loader. Some precautions had to be taken regarding the ``classifiers`` subhash of the table that needs to be relocated from the data we received via mkcharacters.
Diffstat (limited to 'src/luaotfload-database.lua')
0 files changed, 0 insertions, 0 deletions