Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
[doc] document syntax for path lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-gamma committed Feb 10, 2017
1 parent f4a719d commit 894e271
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doc/luaotfload-main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
\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> \} ;
Expand Down Expand Up @@ -218,7 +218,13 @@

<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} \} ) ;

Expand Down Expand Up @@ -608,7 +614,7 @@
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
Expand Down

0 comments on commit 894e271

Please sign in to comment.