[latex3-commits] [git/LaTeX3-latex3-luaotfload] ignorable-dev: add test for invisible option (0507b9f)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Aug 17 19:49:08 CEST 2019


Repository : https://github.com/latex3/luaotfload
On branch  : ignorable-dev
Link       : https://github.com/latex3/luaotfload/commit/0507b9fd4f422f050b6c25d8672ec6a6539e22cf

>---------------------------------------------------------------

commit 0507b9fd4f422f050b6c25d8672ec6a6539e22cf
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Aug 17 19:49:08 2019 +0200

    add test for invisible option


>---------------------------------------------------------------

0507b9fd4f422f050b6c25d8672ec6a6539e22cf
 testfiles/invisible-chars.lvt                      | 13 ++++++++++++
 ...ac-only-font-family.tlg => invisible-chars.tlg} | 24 ++++++++++------------
 2 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/testfiles/invisible-chars.lvt b/testfiles/invisible-chars.lvt
new file mode 100644
index 0000000..e9daa16
--- /dev/null
+++ b/testfiles/invisible-chars.lvt
@@ -0,0 +1,13 @@
+\input{regression-test}
+\documentclass{article}
+\begin{document}
+\START\showoutput
+\font\amiri={file:amiri-regular.ttf:-invisible;} at 20pt
+\amiri
+\char"200Dي\char"200D
+
+\font\amiri={file:amiri-regular.ttf:} at 20pt
+\amiri
+\char"200Dي\char"200D
+
+\end{document}
diff --git a/testfiles/issue47-mac-only-font-family.tlg b/testfiles/invisible-chars.tlg
similarity index 74%
copy from testfiles/issue47-mac-only-font-family.tlg
copy to testfiles/invisible-chars.tlg
index ae45ec1..7a4e25e 100644
--- a/testfiles/issue47-mac-only-font-family.tlg
+++ b/testfiles/invisible-chars.tlg
@@ -9,38 +9,36 @@ Completed box being shipped out [1]
 ...\hbox(0.0+0.0)x345.0, direction TLT
 ..\glue 25.0
 ..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 527.9436fil, direction TLT
+..\vbox(550.0+0.0)x345.0, glue set 516.10309fil, direction TLT
 ...\write-{}
-...\glue(\topskip) 1.38
-...\hbox(8.62+0.35)x345.0, glue set 300.0fil, direction TLT
+...\glue(\topskip) 0.0
+...\hbox(12.19727+8.7793)x345.0, glue set 314.70703fil, direction TLT
 ....\localpar
 .....\localinterlinepenalty=0
 .....\localbrokenpenalty=0
 .....\localleftbox=null
 .....\localrightbox=null
 ....\hbox(0.0+0.0)x15.0, direction TLT
-....\testname A
-....\testname A
-....\testname A
+....\amiri ‍
+....\amiri ي
+....\amiri ‍
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
 ...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 3.03
-...\hbox(8.62+0.35)x345.0, glue set 300.0fil, direction TLT
+...\glue(\lineskip) 1.0
+...\hbox(8.08594+8.7793)x345.0, glue set 314.70703fil, direction TLT
 ....\localpar
 .....\localinterlinepenalty=0
 .....\localbrokenpenalty=0
 .....\localleftbox=null
 .....\localrightbox=null
 ....\hbox(0.0+0.0)x15.0, direction TLT
-....\testfamily A
-....\testfamily A
-....\testfamily A
+....\amiri ي
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\glue -0.35
+...\glue -5.0
 ...\glue 0.0 plus 1.0fil
 ...\glue 0.0
 ...\glue 0.0 plus 0.0001fil
@@ -49,4 +47,4 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/lmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
-(issue47-mac-only-font-family.aux)
+(invisible-chars.aux)





More information about the latex3-commits mailing list