summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-28 16:03:16 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-28 16:03:16 +0200
commit2a4159410151fa9c99adaf56071a370bcb261ac1 (patch)
tree5442a5a5efc05a6126cce0f7c23745d4c6ec6b72
parent996ba6a5014fc546c8e8c769a259b9adaf2090dc (diff)
downloadluaotfload-2a4159410151fa9c99adaf56071a370bcb261ac1.tar.gz
add test for ttc subfont loading
-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