summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-test.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-17 12:45:14 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-17 12:45:14 +0200
commitc8734018b81eb2120372493a3767617eeaf0299c (patch)
tree987d7791ae6f39bcf371c72f87d6e8cf759f0c75 /src/fontloader/misc/fontloader-test.tex
parentfc973a6dde1a78a59e50bc3850dfd0d06e7b2a03 (diff)
parent97ec9e582e5be33001c136a9c69b5eebee4fdb2a (diff)
downloadluaotfload-c8734018b81eb2120372493a3767617eeaf0299c.tar.gz
Merge pull request #330 from phi-gamma/master
fontloader update
Diffstat (limited to 'src/fontloader/misc/fontloader-test.tex')
-rw-r--r--src/fontloader/misc/fontloader-test.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/fontloader/misc/fontloader-test.tex b/src/fontloader/misc/fontloader-test.tex
index f851aab..0bb752b 100644
--- a/src/fontloader/misc/fontloader-test.tex
+++ b/src/fontloader/misc/fontloader-test.tex
@@ -131,4 +131,31 @@ $\root3\of x$
$\sin{x}$
+\bgroup
+
+ % drawback: no features (so use basemode)
+
+ \font\crapa=lmroman12-regular:mode=base;liga=yes;kern=yes; at 12pt
+ \font\crapb=lmsans12-regular:mode=base;liga=yes;kern=yes; at 30pt
+ %\font\mine=file:luatex-fonts-demo-vf-4.lua:1=lmroman12-regular;2=lmsans12-regular{0x41-0x5A+0x30-0x39+0x21}; at 12pt
+ \font\mine=file:luatex-fonts-demo-vf-4.lua:1=\fontid\crapa;2=\fontid\crapb{0x41-0x5A+0x30-0x39+0x21}; at 12pt
+
+ \crapa Test\par
+ \crapb Test\par
+
+ \mine Zomaar een eindje fiets! En dan weer terug.
+
+\egroup
+
+% \font\amiri=file:amiri-regular.ttf:%
+% mode=node;analyze=yes;language=dflt;script=arab;ccmp=yes;%
+% init=yes;medi=yes;fina=yes;isol=yes;%
+% mark=yes;mkmk=yes;kern=yes;curs=yes;%
+% liga=yes;dlig=yes;rlig=yes;clig=yes;calt=yes %
+% at 32pt
+
+% \bgroup
+% \textdir TRT\amiri بِسْمِ اللَّـهِ الرَّ‌حْمَـٰنِ الرَّ‌حِيمِ
+% \egroup
+
\end