summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pln-request-4-slashed.tex12
-rw-r--r--tests/pln-request-5-cached.tex17
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