diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/color.tex | 9 | ||||
-rw-r--r-- | tests/microtypography.tex | 9 | ||||
-rw-r--r-- | tests/systemfonts.tex | 48 | ||||
-rw-r--r-- | tests/texligatures.tex | 5 |
4 files changed, 71 insertions, 0 deletions
diff --git a/tests/color.tex b/tests/color.tex new file mode 100644 index 0000000..7206853 --- /dev/null +++ b/tests/color.tex @@ -0,0 +1,9 @@ +\input luaotfload.sty + +\pdfminorversion=5 \pdfcompresslevel=9 \pdfobjcompresslevel=9 + +\font\testa=file:lmroman10-regular.otf:color=FF0000BB;+liga;+tlig;+trep" at 10pt +\font\testb=file:lmroman10-regular.otf:color=FFFF0099;+liga;+tlig;+trep" at 10pt +\testa \input knuth \par +\testb \input knuth \par +\bye diff --git a/tests/microtypography.tex b/tests/microtypography.tex new file mode 100644 index 0000000..7d032e3 --- /dev/null +++ b/tests/microtypography.tex @@ -0,0 +1,9 @@ +\input luaotfload.sty + +\pdfprotrudechars2 \pdfadjustspacing2 + +\font\testa=file:texgyretermes-regular:script=latn at 12pt +\font\testb=file:texgyretermes-regular:script=latn;protrusion=default at 12pt +\testa \input tufte \par +\testb \input tufte \par +\bye diff --git a/tests/systemfonts.tex b/tests/systemfonts.tex new file mode 100644 index 0000000..0e842db --- /dev/null +++ b/tests/systemfonts.tex @@ -0,0 +1,48 @@ +\input luaotfload.sty + +\font\termesr ={TeX Gyre Termes:+liga} at 10pt +\font\termesb ={TeX Gyre Termes/B:+liga} at 10pt +\font\termesi ={TeX Gyre Termes/I:+liga} at 10pt +\font\termesbi ={TeX Gyre Termes/BI:+liga} at 10pt +\font\termesib ={TeX Gyre Termes/IB:+liga} at 10pt +\font\termesicu={TeX Gyre Termes/ICU/B:+liga} at 10pt +\font\termesaat={TeX Gyre Termes/AAT/IB:+liga} at 10pt +\font\termess ={TeX Gyre Termes/ICU/S=10:+liga} at 10pt +\font\dsans ={DejaVu Sans:+liga} at 10pt +\font\dsansi ={DejaVu Sans/I:+liga} at 10pt +\font\dsansb ={DejaVu Sans/B:+liga} at 10pt +\font\dsansib ={DejaVu Sans/IB:+liga} at 10pt +\font\dsansextr={DejaVu Sans/Extra Light:+liga} at 10pt +\font\dsansecnd={DejaVu Sans/Condensed:+liga} at 10pt +\font\lmr ={Latin Modern Roman:+liga} at 10pt +\font\lmf ={Latin Modern Roman/S=5:+liga} at 10pt +\font\lmb ={Latin Modern Roman/B:+liga} at 10pt +\font\lmi ={Latin Modern Roman/I:+liga} at 10pt +\font\lmbi ={Latin Modern Roman/BI:+liga} at 10pt +\font\lms ={Latin Modern Roman Slanted:+liga} at 10pt +\font\lmltn ={Latin Modern Roman:script=latn} at 10pt +\font\arab ={KacstOne:mode=node;script=arab} at 10pt + +\termesr fi fl ffi ffl ff\par +\termesb fi fl ffi ffl ff\par +\termesi fi fl ffi ffl ff\par +\termesbi fi fl ffi ffl ff\par +\termesib fi fl ffi ffl ff\par +\termesicu fi fl ffi ffl ff\par +\termesaat fi fl ffi ffl ff\par +\termess fi fl ffi ffl ff\par +\dsans fi fl ffi ffl ff\par +\dsansi fi fl ffi ffl ff\par +\dsansb fi fl ffi ffl ff\par +\dsansib fi fl ffi ffl ff\par +\dsansextr fi fl ffi ffl ff\par +\dsansecnd fi fl ffi ffl ff\par +\lmr fi fl ffi ffl ff\par +\lmf fi fl ffi ffl ff\par +\lmb fi fl ffi ffl ff\par +\lmi fi fl ffi ffl ff\par +\lmbi fi fl ffi ffl ff\par +\lms fi fl ffi ffl ff\par +\lmltn fi fl ffi ffl ff\par +\leavevmode\arab\luatextextdir TRT بِسْمِ الله الرَّحْمنِ الرحيم\par +\bye diff --git a/tests/texligatures.tex b/tests/texligatures.tex new file mode 100644 index 0000000..22f41af --- /dev/null +++ b/tests/texligatures.tex @@ -0,0 +1,5 @@ +\input luaotfload.sty + +\font\test={file:lmroman10-regular:script=latn;+tlig;+trep} at 10pt +\test ``fi fl ffi--ffl---ff!`'' \par +\bye |