From de93018b250e727b29b40c1708056f53afe037f1 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Thu, 6 Jun 2024 04:13:28 +0800 Subject: [PATCH] test: hide some font info under pdftex --- ctex/test/support/linespread-body.tex | 2 ++ ctex/test/testfiles/linespread01.pdftex.tlg | 3 +-- ctex/test/testfiles/linespread02.pdftex.tlg | 3 +-- ctex/test/testfiles/linespread03.pdftex.tlg | 3 +-- ctex/test/testfiles/space.lvt | 2 +- ctex/test/testfiles/space.pdftex.tlg | 3 +-- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ctex/test/support/linespread-body.tex b/ctex/test/support/linespread-body.tex index 2009a252..a378386a 100644 --- a/ctex/test/support/linespread-body.tex +++ b/ctex/test/support/linespread-body.tex @@ -1,3 +1,5 @@ +\setbox0=\hbox{一行} % trigger font info + \START \AUTHOR{Xiangdong Zeng} diff --git a/ctex/test/testfiles/linespread01.pdftex.tlg b/ctex/test/testfiles/linespread01.pdftex.tlg index 291166d4..c2c2cf04 100644 --- a/ctex/test/testfiles/linespread01.pdftex.tlg +++ b/ctex/test/testfiles/linespread01.pdftex.tlg @@ -4,8 +4,7 @@ Author: Xiangdong Zeng ============================================================ TEST 1: Lines ============================================================ -LaTeX Font Info: Trying to load font information for C70+rm on input line .... -(c70rm.fd) (ctex-zhmap-fandol.tex) +(ctex-zhmap-fandol.tex) Completed box being shipped out [1] \vbox(633.0+0.0)x407.0 .\hbox(0.0+0.0)x0.0 diff --git a/ctex/test/testfiles/linespread02.pdftex.tlg b/ctex/test/testfiles/linespread02.pdftex.tlg index 16ba0d1e..33dac9c7 100644 --- a/ctex/test/testfiles/linespread02.pdftex.tlg +++ b/ctex/test/testfiles/linespread02.pdftex.tlg @@ -4,8 +4,7 @@ Author: Xiangdong Zeng ============================================================ TEST 1: Lines ============================================================ -LaTeX Font Info: Trying to load font information for C70+rm on input line .... -(c70rm.fd) (ctex-zhmap-fandol.tex) +(ctex-zhmap-fandol.tex) Completed box being shipped out [1] \vbox(633.0+0.0)x407.0 .\hbox(0.0+0.0)x0.0 diff --git a/ctex/test/testfiles/linespread03.pdftex.tlg b/ctex/test/testfiles/linespread03.pdftex.tlg index 94031975..f1f1c0dd 100644 --- a/ctex/test/testfiles/linespread03.pdftex.tlg +++ b/ctex/test/testfiles/linespread03.pdftex.tlg @@ -4,8 +4,7 @@ Author: Xiangdong Zeng ============================================================ TEST 1: Lines ============================================================ -LaTeX Font Info: Trying to load font information for C70+rm on input line .... -(c70rm.fd) (ctex-zhmap-fandol.tex) +(ctex-zhmap-fandol.tex) Completed box being shipped out [1] \vbox(624.73698+0.0)x389.0 .\hbox(0.0+0.0)x0.0 diff --git a/ctex/test/testfiles/space.lvt b/ctex/test/testfiles/space.lvt index f8f5a9a7..3cbe9845 100644 --- a/ctex/test/testfiles/space.lvt +++ b/ctex/test/testfiles/space.lvt @@ -10,7 +10,7 @@ \def\TEXTB{文字文字 AAAAAAAAAA} \begin{document} - +\setbox0=\hbox{一} % trigger font info; also keep line numbers \START \AUTHOR{Xiangdong Zeng} diff --git a/ctex/test/testfiles/space.pdftex.tlg b/ctex/test/testfiles/space.pdftex.tlg index fbe2a124..534e1804 100644 --- a/ctex/test/testfiles/space.pdftex.tlg +++ b/ctex/test/testfiles/space.pdftex.tlg @@ -4,8 +4,7 @@ Author: Xiangdong Zeng ============================================================ TEST 1: space = true ============================================================ -LaTeX Font Info: Trying to load font information for C70+rm on input line .... -(c70rm.fd) (ctex-zhmap-fandol.tex) +(ctex-zhmap-fandol.tex) Completed box being shipped out [1] \vbox(633.0+0.0)x407.0 .\hbox(0.0+0.0)x0.0