diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-09-29 22:14:54 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-09-29 22:14:54 +0200 |
commit | 75e49e7772c6acbd13b96e001f05c232a380f729 (patch) | |
tree | f7329da39846b1d20cbcc389ff3a64dc0b105035 /doc | |
parent | 127133d3bc3f70d054045f47df924cba88741195 (diff) | |
download | luaotfload-75e49e7772c6acbd13b96e001f05c232a380f729.tar.gz |
[doc] add a short note about TTC subfonts
Diffstat (limited to 'doc')
-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} |