[latex3-commits] [git/LaTeX3-latex3-luaotfload] psname-dev: Document psname based subfont selection (4471d64)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Nov 3 00:06:00 CET 2019
Repository : https://github.com/latex3/luaotfload
On branch : psname-dev
Link : https://github.com/latex3/luaotfload/commit/4471d64930a199e9ed85a5b23510c2c946442f9e
>---------------------------------------------------------------
commit 4471d64930a199e9ed85a5b23510c2c946442f9e
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Nov 3 00:06:00 2019 +0100
Document psname based subfont selection
>---------------------------------------------------------------
4471d64930a199e9ed85a5b23510c2c946442f9e
doc/luaotfload-main.tex | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index 98fc9a6..cb949f2 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -563,8 +563,8 @@ non-standard directory:
\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{%
+subfonts, the respective index or the respective PostScript font name 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.
}
@@ -572,6 +572,8 @@ name.\footnote{%
\beginlisting
\font \cambriamain = "file:cambria.ttc(0)" at 10pt
\font \cambriamath = "file:cambria.ttc(1)" at 10pt
+ \font \Cambriamain = "file:cambria.ttc(Cambria)" at 10pt
+ \font \Cambriamath = "file:cambria.ttc(CambriaMath)" at 10pt
\endlisting
and likewise, requesting subfont inside a TTC container by path:
More information about the latex3-commits
mailing list