From 352272f48743f785c3a0cea0dcf4e76efc3270e5 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 3 Nov 2013 19:35:13 +0100 Subject: [news,man] mentions --compress in the appropriate places --- luaotfload-tool.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 03ff407..4ccc1dd 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -20,6 +20,7 @@ SYNOPSIS **luaotfload-tool** --update [ --force ] [ --quiet ] [ --verbose ] [ --prefer-texmf ] [ --dry-run ] [ --formats=[+|-]EXTENSIONS ] + [ --compress ] **luaotfload-tool** --find=FONTNAME [ --fuzzy ] [ --info ] [ --inspect ] [ --no-reload ] @@ -62,6 +63,8 @@ update mode all fonts. --no-reload, -n Suppress auto-updates to the database (e.g. when ``--find`` is passed an unknown name). +--compress Filter plain text version of font index through + gzip. --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 711249d64487c3a0bde0ba510e11dbf46ebfb3cb Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 5 Nov 2013 15:58:15 +0100 Subject: [man] update info regarding --fields --- luaotfload-tool.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 4ccc1dd..d123e04 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -127,7 +127,12 @@ query mode matches ``value``. --fields=FIELDS Comma-separated list of fields that should be - printed. The default is *fullname,version*. + printed. + Subfields of a record can be addressed using + the ``->`` separator, e. g. + ``file->location``, ``style->units_per_em``, + or ``names->sanitized->english->subfamily``. + The default is *names->fullname,version*. (Only meaningful with ``--list``.) font and lookup caches -- cgit v1.2.3 From 0228ec5a8a6d969c94cc2f5b7befd0cdb17a3c63 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 5 Nov 2013 16:12:43 +0100 Subject: [man] expand paragraph about --list --- luaotfload-tool.rst | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index d123e04..6971163 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -120,12 +120,37 @@ query mode 1) the character ``*``, selecting all entries; 2) a field of a database entry, for instance - *fullname* or *units_per_em*, according to - which the output will be sorted; or + *version* or *format**, according to which + the output will be sorted; or + Subfields of a record can be addressed using + the ``->`` separator, e. g. + ``file->location``, ``style->units_per_em``, + or + ``names->sanitized->english->prefmodifiers``. + NB: shell syntax requires that arguments + containing ``->`` be properly quoted! 3) an expression of the form ``field:value`` to limit the output to entries whose ``field`` matches ``value``. + For example, in order to output file names and + corresponding versions, sorted by the font + format:: + + ./luaotfload-tool.lua --list="format" --fields="file->base,version" + + This prints:: + + otf latinmodern-math.otf Version 1.958 + otf lmromancaps10-oblique.otf 2.004 + otf lmmono8-regular.otf 2.004 + otf lmmonoproplt10-bold.otf 2.004 + otf lmsans10-oblique.otf 2.004 + otf lmromanslant8-regular.otf 2.004 + otf lmroman12-italic.otf 2.004 + otf lmsansdemicond10-oblique.otf 2.004 + ... + --fields=FIELDS Comma-separated list of fields that should be printed. Subfields of a record can be addressed using -- cgit v1.2.3 From e83bdce6f53216620ae959fd55ba7025569d7e44 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 5 Nov 2013 20:07:34 +0100 Subject: [tool] add --no-strip option --- luaotfload-tool.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 6971163..2db8481 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 ] + [ --compress ] [ --no-strip ] **luaotfload-tool** --find=FONTNAME [ --fuzzy ] [ --info ] [ --inspect ] [ --no-reload ] @@ -63,6 +63,10 @@ update mode all fonts. --no-reload, -n Suppress auto-updates to the database (e.g. when ``--find`` is passed an unknown name). +--no-strip Do not strip redundant information after + 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. -- cgit v1.2.3 From a59332596c26d57b84a609749f7b677683bde029 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 5 Nov 2013 20:10:48 +0100 Subject: [tool,man] adapt default fields for --list and --fields to stripped index format --- luaotfload-tool.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'luaotfload-tool.rst') diff --git a/luaotfload-tool.rst b/luaotfload-tool.rst index 2db8481..37ef779 100644 --- a/luaotfload-tool.rst +++ b/luaotfload-tool.rst @@ -125,7 +125,9 @@ query mode 1) the character ``*``, selecting all entries; 2) a field of a database entry, for instance *version* or *format**, according to which - the output will be sorted; or + the output will be sorted. + Information in an unstripped database (see + the option ``--no-strip`` above) is nested: Subfields of a record can be addressed using the ``->`` separator, e. g. ``file->location``, ``style->units_per_em``, @@ -157,11 +159,13 @@ query mode --fields=FIELDS Comma-separated list of fields that should be printed. + Information in an unstripped database (see the + option ``--no-strip`` above) is nested: Subfields of a record can be addressed using the ``->`` separator, e. g. ``file->location``, ``style->units_per_em``, or ``names->sanitized->english->subfamily``. - The default is *names->fullname,version*. + The default is plainname,version*. (Only meaningful with ``--list``.) font and lookup caches -- cgit v1.2.3