summaryrefslogtreecommitdiff
path: root/tests/lookups.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lookups.tex')
-rw-r--r--tests/lookups.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lookups.tex b/tests/lookups.tex
index db26312..8b03d8e 100644
--- a/tests/lookups.tex
+++ b/tests/lookups.tex
@@ -5,10 +5,16 @@
\font\second=file:antpoltltsemiexpd-bolditalic.otf at 42pt
%% lookup font by name, with style in slash notation
\font\third={name:Antykwa torunska/I} at 42pt
+%% unspecified lookup; in definers.read:
+%% - first it falls back to “file”
+%% - empty “method” field triggers fallback to “name”
+%% - names.resolve -> kpse.lookup -> hit!
+\font\fourth=iwona at 42pt
{\first foo \endgraf}
{\second bar \endgraf}
{\third baz \endgraf}
+{\fourth xyzzy \endgraf}
\bye