diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 15:02:52 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 15:02:52 +0200 |
commit | 71f44e48c73c13d23431274f5886f9480a60fc24 (patch) | |
tree | 8939726a4ab60d86c2461f74827940e8fb0e3e27 /tests/pln-subfont-1.tex | |
parent | 9c16f2f73eed3946020b0197d9fe97034c4f9f24 (diff) | |
parent | e79f34d859d48be485589f19fc6905afa5872a53 (diff) | |
download | luaotfload-71f44e48c73c13d23431274f5886f9480a60fc24.tar.gz |
merge newsyntax branch into 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 |