summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:10:48 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:10:48 +0100
commita59332596c26d57b84a609749f7b677683bde029 (patch)
treed374cab06e093ee04712a2769b50e5997881987c
parente83bdce6f53216620ae959fd55ba7025569d7e44 (diff)
downloadluaotfload-a59332596c26d57b84a609749f7b677683bde029.tar.gz
[tool,man] adapt default fields for --list and --fields to stripped index format
-rwxr-xr-xluaotfload-tool.lua2
-rw-r--r--luaotfload-tool.rst8
2 files changed, 7 insertions, 3 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index f7ac215..737485f 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -960,7 +960,7 @@ actions.list = function (job)
if not asked_fields then
--- some defaults
- asked_fields = { "names->fullname", "version", }
+ asked_fields = { "plainname", "version", }
end
if not name_index then
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