diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 23:12:38 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 23:12:38 +0200 |
commit | ebdd60e14123b44f2e4f74b108ff34fadf480467 (patch) | |
tree | c9528e5979e5077e86c71ca31caab77c1f53ca82 /tests/pln-subfont-1.tex | |
parent | 1d871e6152c1acfa01db6fd90ee809274b9f8751 (diff) | |
parent | 572c0e2de196d2d9551cd205b7f0c69800fb7516 (diff) | |
download | luaotfload-ebdd60e14123b44f2e4f74b108ff34fadf480467.tar.gz |
merge from phi-gamma/master
Diffstat (limited to 'tests/pln-subfont-1.tex')
-rw-r--r-- | tests/pln-subfont-1.tex | 12 |
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 |