Hi Herbert! ···<date: 2014-06-04, Wednesday>···<from: Herbert Voss>···
> One year ago it was > > local myfonts = dofile(fonts.names.path.localdir.."/otfl-names.lua") > > then it changes to > > local myfonts = dofile(fonts.names.path.path) > > But this is now also invalid. What is the correct way to load the > font database located in > $TEXMFVAR/luatex-cache/generic/names/luaotfload-names.lua ?? 1. The function load() in the namespace fonts.names is how it’s done internally, e.g.: https://bitbucket.org/phg/lua-la-tex-tests/src/tip/pln-access-db.tex Note that this reads the names database from at the default location, you can’t pass it a path or something like that. 2. The file luaotfload-names.lua is compressed by default [0] and will only be read if luaotfload-names.luc (the bytecode dump) is missing. Best, Philipp [0] Unless of course you pass ``--no-compress`` to luaotfload-tool when updating.
pgpTuLp7X46aQ.pgp
Description: PGP signature
