summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-12-19 20:15:20 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-12-19 20:15:20 +0200
commit7b028b4346551f61450d42da5a52cdf85407674c (patch)
tree7ff504f1a39ce160d37862ab74e9526324d6e6a7 /tests
parentdb6d134438fee52b713c8a846d2275eea6a43123 (diff)
downloadluaotfload-7b028b4346551f61450d42da5a52cdf85407674c.tar.gz
Revert "tlig, trep and anum are no longer supported"
This reverts commit b0786c4d31736f4421c2e71d655a1e407cfabd76. Conflicts: luaotfload.dtx
Diffstat (limited to 'tests')
-rw-r--r--tests/anum.tex12
-rw-r--r--tests/texligatures.tex7
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/anum.tex b/tests/anum.tex
new file mode 100644
index 0000000..bfbee2f
--- /dev/null
+++ b/tests/anum.tex
@@ -0,0 +1,12 @@
+\input luaotfload.sty
+
+\font\testa={name:dejavusans:script=arab;language=ara;+anum}
+\font\testp={name:dejavusans:script=arab;language=far;+anum}
+\font\tests={name:dejavusans:script=arab;language=snd;+anum}
+\font\testu={name:dejavusans:script=arab;language=urd;+anum}
+
+\testa 0123456789\par
+\testp 0123456789\par
+\tests 0123456789\par
+\testu 0123456789\par
+\bye
diff --git a/tests/texligatures.tex b/tests/texligatures.tex
new file mode 100644
index 0000000..68b554c
--- /dev/null
+++ b/tests/texligatures.tex
@@ -0,0 +1,7 @@
+\input luaotfload.sty
+
+\font\testa={file:lmroman10-regular:script=latn;+tlig;+trep} at 10pt
+\font\testb={file:lmroman10-regular:mode=node;script=latn;+tlig;+trep} at 10pt
+\testa ``fi fl ffi--ffl---ff!`'' \par
+\testb ``fi fl ffi--ffl---ff!`'' \par
+\bye