summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pln-subfont-1.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pln-subfont-1.tex b/tests/pln-subfont-1.tex
new file mode 100644
index 0000000..4877682
--- /dev/null
+++ b/tests/pln-subfont-1.tex
@@ -0,0 +1,12 @@
+\ifdefined\directlua\input luaotfload.sty\fi
+
+\directlua{
+ inspect(fontloader.info"cambria.ttc")
+}
+
+\font\subfontone="file:cambria.ttc(0)" at 42pt
+\font\subfonttwo="file:cambria.ttc(1)" at 42pt
+
+\subfontone foo bar baz \endgraf
+\subfonttwo foo bar baz \endgraf
+\bye