summaryrefslogtreecommitdiff
path: root/tests/pln-subfont-1.tex
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-03 01:31:57 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-03 01:31:57 -0700
commit3e3dcf4b43fb6bf14bba1bd4024b418124822e93 (patch)
treeb70a6b21034ce00c7b741329f4b5b50a29ef9e26 /tests/pln-subfont-1.tex
parent49cc81c4edff6e3c813a93964923bdb35f07e95c (diff)
parent225c63363a259867bad8848e9e9880e43cbf4ad5 (diff)
downloadluaotfload-3e3dcf4b43fb6bf14bba1bd4024b418124822e93.tar.gz
Merge pull request #14 from lualatex/master
update with lualatex master
Diffstat (limited to 'tests/pln-subfont-1.tex')
-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..fb8e1e7
--- /dev/null
+++ b/tests/pln-subfont-1.tex
@@ -0,0 +1,12 @@
+\ifdefined\directlua\input luaotfload.sty\fi
+%% This requires the Cambria fonts from MS.
+\directlua{
+ inspect(fontloader.info"cambria.ttc")
+}
+%% Here we load both subfonts in the collection
+%% with the not-quite documented subfont syntax.
+\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