summaryrefslogtreecommitdiff
path: root/tests/pln-request-5-cached.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 14:48:12 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 14:48:12 +0200
commit19164c39c9f98d9e51a13d5d698f575879f3dfee (patch)
tree624f8cd96862d30163f64635d1165114d1ed7767 /tests/pln-request-5-cached.tex
parent1a76cea6357f50d7dae752765173af335ba95beb (diff)
downloadluaotfload-19164c39c9f98d9e51a13d5d698f575879f3dfee.tar.gz
add examples for XeTeX notation and lookup caching
Diffstat (limited to 'tests/pln-request-5-cached.tex')
-rw-r--r--tests/pln-request-5-cached.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pln-request-5-cached.tex b/tests/pln-request-5-cached.tex
new file mode 100644
index 0000000..437b20d
--- /dev/null
+++ b/tests/pln-request-5-cached.tex
@@ -0,0 +1,17 @@
+\ifdefined\directlua
+ \directlua{config = config or { luaotfload = { } }
+ config.luaotfload.resolver = "cached" }
+ \input luaotfload.sty
+\fi
+
+\font\iwona =name:iwona at 20pt
+\font\iwonabold =name:iwona/b at 20pt
+\font\iwonaitalic =name:iwona/i at 20pt
+\font\iwonabolditalic =name:iwona/bi at 20pt
+
+\def\test{foo bar baz \endgraf}
+{\iwona \test}
+{\iwonabold \test}
+{\iwonaitalic \test}
+{\iwonabolditalic \test}
+\bye