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.lua | 2 +- luaotfload-tool.rst | 8 ++++++-- 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 -- cgit v1.2.3