diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-10-21 20:53:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 20:53:49 +0200 |
commit | 98656f9d5ca25aaea2e977b79e09c9bb661f4cef (patch) | |
tree | 19aaadfca6f5f754aa25e1bc9b02d2f8d1cfd571 /doc/luaotfload-main.tex | |
parent | e43a2bac48edbd4af2892c4161d0036fc642e528 (diff) | |
parent | b409613a112531013787984bbfb809b1bdda63bf (diff) | |
download | luaotfload-98656f9d5ca25aaea2e977b79e09c9bb661f4cef.tar.gz |
Merge pull request #386 from phi-gamma/master
code for v2.8-rc3
Diffstat (limited to 'doc/luaotfload-main.tex')
-rw-r--r-- | doc/luaotfload-main.tex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex index f6c7301..406595a 100644 --- a/doc/luaotfload-main.tex +++ b/doc/luaotfload-main.tex @@ -424,6 +424,19 @@ non-standard directory: \font \gfsporson = "[/tmp/GFSPorson.otf]" at 12pt \endlisting +\identifier{TrueType} collection files (the extension is usually +\inlinecode{.ttc}) contain more than a single font. In order to refer to these +subfonts, the respective index may be added in parentheses after the file +name.\footnote{% + Incidentally, this syntactical detail also prevents one from loading files + that end in balanced parentheses. +} + +\beginlisting + \font \cambriamain = "file:cambria.ttc(0)" at 10pt + \font \cambriamath = "file:cambria.ttc(1)" at 10pt +\endlisting + \endsubsubsection \beginsubsubsection{Loading by Font Name} |