[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Document psname based subfont selection (8d6c897)

Marcel Fabian Krüger tex at 2krueger.de
Sun Nov 3 01:25:41 CET 2019


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/8d6c897c9863d4a2d492677e5b52b72d30414c28

>---------------------------------------------------------------

commit 8d6c897c9863d4a2d492677e5b52b72d30414c28
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Nov 3 00:06:00 2019 +0100

    Document psname based subfont selection


>---------------------------------------------------------------

8d6c897c9863d4a2d492677e5b52b72d30414c28
 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