summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2017-02-11 00:00:29 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2017-02-11 00:00:29 +0100
commit894e27119cba0a294f8e1f5c6e9a70055f4e1ba1 (patch)
treed451e4ed15d4ab5ce3a66a7321da2286698f377d /doc
parentf4a719d2a4d302e4cb6014a518b2ceb0729b172f (diff)
downloadluaotfload-894e27119cba0a294f8e1f5c6e9a70055f4e1ba1.tar.gz
[doc] document syntax for path lookup
Diffstat (limited to 'doc')
-rw-r--r--doc/luaotfload-main.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index c26235e..b82c8d9 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -183,7 +183,7 @@ for a more formal description see figure \ref{font-syntax}.
\alt <unquoted font request> ;
<unquoted font request> ::= <specification>, [`:', <feature list> ]
- \alt `[', <path lookup> `]', [ [`:'], <feature list> ] ;
+ \alt <path lookup>, [ [`:'], <feature list> ] ;
<specification> ::= <prefixed spec>, [ <subfont no> ], \{ <modifier> \}
\alt <anon lookup>, \{ <modifier> \} ;
@@ -218,7 +218,13 @@ for a more formal description see figure \ref{font-syntax}.
<anon lookup> ::= {\sc tfmname} | <name lookup> ;
- <path lookup> ::= \{ {\sc all_characters} - `]' \} ;
+ <path lookup> ::= `[', \{ <path content> \}, `]', [ <subfont no> ] ;
+
+ <path content> ::= <path balanced>
+ \alt `\\', {\sc all_characters}
+ \alt {\sc all_characters} - `]'
+
+ <path balanced> ::= `[', [ <path content> ], `]'
<modifier> ::= `/', (`I' | `B' | `BI' | `IB' | `S=', \{ {\sc digit} \} ) ;
@@ -608,7 +614,7 @@ obviously, \inlinecode{random}.
For scripts derived from the Latin alphabet the value
\inlinecode{latn} is good choice.
}
- the default value is \inlinecode{dlft}.
+ the default value is \inlinecode{dflt}.
%
Some fonts, including very popular ones by foundries like Adobe,
do not assign features to the \inlinecode{dflt} script, in