diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 14:48:12 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 14:48:12 +0200 |
commit | 19164c39c9f98d9e51a13d5d698f575879f3dfee (patch) | |
tree | 624f8cd96862d30163f64635d1165114d1ed7767 | |
parent | 1a76cea6357f50d7dae752765173af335ba95beb (diff) | |
download | luaotfload-19164c39c9f98d9e51a13d5d698f575879f3dfee.tar.gz |
add examples for XeTeX notation and lookup caching
-rw-r--r-- | tests/pln-request-4-slashed.tex | 12 | ||||
-rw-r--r-- | tests/pln-request-5-cached.tex | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/pln-request-4-slashed.tex b/tests/pln-request-4-slashed.tex new file mode 100644 index 0000000..5e7d99e --- /dev/null +++ b/tests/pln-request-4-slashed.tex @@ -0,0 +1,12 @@ +\ifdefined\directlua\input luaotfload.sty\fi +\font\iwona =iwona at 20pt +\font\iwonabold =iwona/b at 20pt +\font\iwonaitalic =iwona/i at 20pt +\font\iwonabolditalic =iwona/bi at 20pt + +\def\test{foo bar baz \endgraf} +{\iwona \test} +{\iwonabold \test} +{\iwonaitalic \test} +{\iwonabolditalic \test} +\bye 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 |