summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-25 00:44:16 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-25 00:44:16 -0700
commit3d1c11400648c123b372e0cfce089175707a38f6 (patch)
tree718245422b1b727d5b939e5a3a8b0191424521d4 /tests
parent63ee07f1f4021d07c5d89b706f2a9f1d8a4d97c9 (diff)
parent743c725a3c4e515cdb591a04dc5396c5e9e1de42 (diff)
downloadluaotfload-3d1c11400648c123b372e0cfce089175707a38f6.tar.gz
Merge pull request #5 from phi-gamma/master
changes to font request and database code
Diffstat (limited to 'tests')
-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