From f564f346e2a1b200fe27174011070adc7a527b28 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 12 Nov 2013 23:25:28 +0100 Subject: [man] update references to db compression --- luaotfload-tool.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 37ef779..26f830b 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -20,7 +20,7 @@ SYNOPSIS **luaotfload-tool** --update [ --force ] [ --quiet ] [ --verbose ] [ --prefer-texmf ] [ --dry-run ] [ --formats=[+|-]EXTENSIONS ] - [ --compress ] [ --no-strip ] + [ --no-compress ] [ --no-strip ] **luaotfload-tool** --find=FONTNAME [ --fuzzy ] [ --info ] [ --inspect ] [ --no-reload ] @@ -67,8 +67,9 @@ update mode building the database. Warning: this will inflate the index to about two to three times the normal size. ---compress Filter plain text version of font index through - gzip. +--no-compress, -c Do not filter the plain text version of the + font index through gzip. Useful for debugging + if your editor is built without zlib. --prefer-texmf, -p Organize the file name database in a way so that it prefer fonts in the *TEXMF* tree over -- cgit v1.2.3 From 14834c9ea172588cc6cd4f111cdb16ce88ce2c2f Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 12 Nov 2013 23:32:57 +0100 Subject: [man,doc] adapt references to luaotfload-names.lua --- luaotfload-tool.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 26f830b..abe5ed7 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -221,11 +221,17 @@ FILES The font name database is usually located in the directory ``texmf-var/luatex-cache/generic/names/`` (``$TEXMFCACHE`` as set in -``texmf.cnf``) of your *TeX Live* distribution as -``luaotfload-names.lua``. The experimental lookup cache will be -created as ``luaotfload-lookup-cache.lua`` in the same directory. -Both files are safe to delete, at the cost of regenerating them with -the next run of *LuaTeX*. +``texmf.cnf``) of your *TeX Live* distribution as a zlib-compressed +file ``luaotfload-names.lua.gz``. +The experimental lookup cache will be created as +``luaotfload-lookup-cache.lua`` in the same directory. +These Lua tables are not used directly by Luaotfload, though. +Instead, they are compiled to Lua bytecode which is written to +corresponding files with the extension ``.luc`` in the same directory. +When modifying the files by hand keep in mind that only if the bytecode +files are missing will Luaotfload use the plain version instead. +Both kinds of files are safe to delete, at the cost of regenerating +them with the next run of *LuaTeX*. SEE ALSO ======================================================================= -- cgit v1.2.3 From a914c23b674ff6bacb85a9701a828e03ec24cbc0 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 13 Nov 2013 00:32:35 +0100 Subject: [tool,man,db] add --max-fonts option to restrict db size --- luaotfload-tool.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index abe5ed7..957ec85 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -74,6 +74,8 @@ update mode --prefer-texmf, -p Organize the file name database in a way so that it prefer fonts in the *TEXMF* tree over system fonts if they are installed in both. +--max-fonts=N Process at most *N* font files, including fonts + already indexed in the count. --formats=EXTENSIONS Extensions of the font files to index. Where *EXTENSIONS* is a comma-separated list of supported file extensions (otf, ttf, ttc, -- cgit v1.2.3