summaryrefslogtreecommitdiff
path: root/tests/lookups.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-23 03:07:32 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-23 03:07:32 +0200
commitc6a89a39cab64e09d530136e085383e7af3b05b8 (patch)
tree9fd1624ba632fbe951252178247b34427c9f0eaa /tests/lookups.tex
parent1faface747fdf8ca61c4f50518525e5d11bb1063 (diff)
downloadluaotfload-c6a89a39cab64e09d530136e085383e7af3b05b8.tar.gz
combine luaotfload-font-ltx -> luaotfload-features
Diffstat (limited to 'tests/lookups.tex')
-rw-r--r--tests/lookups.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lookups.tex b/tests/lookups.tex
new file mode 100644
index 0000000..db26312
--- /dev/null
+++ b/tests/lookups.tex
@@ -0,0 +1,14 @@
+\input luaotfload.sty
+%% lookup font by name (involving database)
+\font\first=name:iwonaregular at 42pt
+%% lookup font by file name (kpse)
+\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
+
+{\first foo \endgraf}
+{\second bar \endgraf}
+{\third baz \endgraf}
+
+\bye
+