pdftex[956] branches/stable/tests/38-interword-space-at-font-switch:

commits+thanh at tug.org commits+thanh at tug.org
Mon Feb 17 09:44:00 CET 2025


Revision: 956
          https://tug.org/svn/pdftex?view=revision&revision=956
Author:   thanh
Date:     2025-02-17 09:44:00 +0100 (Mon, 17 Feb 2025)
Log Message:
-----------
Update test files for change: interword spacing at font switch

Modified Paths:
--------------
    branches/stable/tests/38-interword-space-at-font-switch/Makefile
    branches/stable/tests/38-interword-space-at-font-switch/f.tex
    branches/stable/tests/38-interword-space-at-font-switch/f2.tex
    branches/stable/tests/38-interword-space-at-font-switch/from-latex-tagged-pdf/arXiv-2401.05361v1.tex
    branches/stable/tests/38-interword-space-at-font-switch/sample2e.tex
    branches/stable/tests/38-interword-space-at-font-switch/texlive-en.tex

Added Paths:
-----------
    branches/stable/tests/38-interword-space-at-font-switch/a2.tex

Modified: branches/stable/tests/38-interword-space-at-font-switch/Makefile
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/Makefile	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/Makefile	2025-02-17 08:44:00 UTC (rev 956)
@@ -14,7 +14,7 @@
 	# $(pdftex23) -ini f.tex && mv f.pdf f-23.pdf && ./postpdf.sh f-23.pdf
 	$(pdftex24) -ini f.tex && mv f.pdf f-24.pdf && ./postpdf.sh f-24.pdf
 	$(pdftex25) -ini f.tex && mv f.pdf f-25.pdf && ./postpdf.sh f-25.pdf
-	./compare_pdfs.rb f-2[45].pdf --res=300
+	./compare_pdfs.rb f-2[45].pdf
 	vimdiff -R f-2[45]--pp.pdf
 
 test2:
@@ -23,7 +23,7 @@
 	# $(pdftex23) -fmt pdflatex-23 f2.tex && mv f2.pdf f2-23.pdf && ./postpdf.sh f2-23.pdf
 	$(pdflatex24) f2.tex && mv f2.pdf f2-24.pdf && ./postpdf.sh f2-24.pdf
 	$(pdflatex25) f2.tex && mv f2.pdf f2-25.pdf && ./postpdf.sh f2-25.pdf
-	# ./compare_pdfs.rb f2-2[45].pdf --res=300
+	./compare_pdfs.rb f2-2[45].pdf
 	vimdiff -R f2-2[45]--pp.pdf
 
 sample2e:
@@ -33,6 +33,7 @@
 	# $(pdftex23) -fmt pdflatex-23 sample2e.tex && mv sample2e.pdf sample2e-23.pdf && ./postpdf.sh sample2e-23.pdf
 	$(pdflatex24) sample2e.tex && mv sample2e.pdf sample2e-24.pdf && ./postpdf.sh sample2e-24.pdf
 	$(pdflatex25) sample2e.tex && mv sample2e.pdf sample2e-25.pdf && ./postpdf.sh sample2e-25.pdf
+	./compare_pdfs.rb sample2e-2[45].pdf
 	vimdiff -f -R sample2e-2[45]--pp.pdf
 
 a1:
@@ -44,9 +45,21 @@
 	$(pdflatex25) a1.tex
 	$(pdflatex25) a1.tex
 	mv a1.pdf a1-25.pdf && ./postpdf.sh a1-25.pdf
-	./compare_pdfs.rb a1-24.pdf a1-25.pdf --fuzz=10 --threshold=10 --res=300
-	vimdiff -R a1-24--pp.pdf a1-25--pp.pdf
+	./compare_pdfs.rb a1-2[45].pdf
+	vimdiff -R a1-2[45]--pp.pdf
 
+a2:
+	$(pdflatex24) a2.tex
+	$(pdflatex24) a2.tex
+	$(pdflatex24) a2.tex
+	mv a2.pdf a2-24.pdf && ./postpdf.sh a2-24.pdf
+	$(pdflatex25) a2.tex
+	$(pdflatex25) a2.tex
+	$(pdflatex25) a2.tex
+	mv a2.pdf a2-25.pdf && ./postpdf.sh a2-25.pdf
+	./compare_pdfs.rb a2-2[45].pdf --res=300
+	vimdiff -R a2-2[45]--pp.pdf
+
 texlive-en:
 	$(pdflatex24) texlive-en.tex
 	# $(pdflatex24) texlive-en.tex
@@ -56,8 +69,8 @@
 	# $(pdflatex25) texlive-en.tex
 	# $(pdflatex25) texlive-en.tex
 	mv texlive-en.pdf texlive-en-25.pdf && ./postpdf.sh texlive-en-25.pdf
-	./compare_pdfs.rb texlive-en-24.pdf texlive-en-25.pdf --fuzz=10 --threshold=10 --res=150
-	vimdiff -R texlive-en-24--pp.pdf texlive-en-25--pp.pdf
+	./compare_pdfs.rb texlive-en-2[45].pdf
+	vimdiff -R texlive-en-2[45]--pp.pdf
 
 fmt:
 	# $(pdftex21) -ini -etex -env pdflatex.ini && mv pdflatex.fmt pdflatex-21.fmt
@@ -66,8 +79,5 @@
 	$(pdftex24) -ini -etex -env pdflatex.ini && mv pdflatex.fmt pdflatex-24.fmt
 	$(pdftex25) -ini -etex -env pdflatex.ini && mv pdflatex.fmt pdflatex-25.fmt
 
-cmp:
-	./compare_pdfs.rb sample2e-2[45].pdf --fuzz=10 --threshold=10 --res=300
-
 clean:
 	$(clean)

Added: branches/stable/tests/38-interword-space-at-font-switch/a2.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/a2.tex	                        (rev 0)
+++ branches/stable/tests/38-interword-space-at-font-switch/a2.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -0,0 +1 @@
+link /Users/thanh/pdftex/tests/38-interword-space-at-font-switch/from-latex-tagged-pdf/arXiv-2401.05361v1.tex
\ No newline at end of file


Property changes on: branches/stable/tests/38-interword-space-at-font-switch/a2.tex
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: branches/stable/tests/38-interword-space-at-font-switch/f.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/f.tex	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/f.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -1,23 +1,22 @@
 \input plain.tex
 \input pdftexconfig.tex
 \input pdftexmagfix.tex
+
 \pdfcompresslevel=0
 \pdfobjcompresslevel=0
-\pdftracingfonts=1
-
 \pdfinterwordspaceon
 
-% \font\f=cmr10 at 10pt
-% \pdffontexpand\f 20 20 10 autoexpand
-% \pdfadjustspacing=2
-% \f
+\font\f=cmr10 at 10pt
+\pdffontexpand\f 20 20 10 autoexpand
+\pdfadjustspacing=2
+\f
 
 text {\bf text} text
-% Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-% Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit
 
 
-% {\bf \TeX{} Web Resources} The web page
-% {\tt https://tug.org/interest.html} has many \TeX{}-
+{\bf \TeX{} Web Resources} The web page
+{\tt https://tug.org/interest.html} has many \TeX{}-
 
 \bye

Modified: branches/stable/tests/38-interword-space-at-font-switch/f2.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/f2.tex	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/f2.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -1,10 +1,11 @@
 \documentclass[12pt]{article}
 \RequirePackage[a4paper,lines=47,hmargin=2.6cm,vmarginratio=5:4]{geometry}
+
 \usepackage{microtype}
-
 \begin{document}
 \pdfcompresslevel=0
 \pdfobjcompresslevel=0
+\pdfinterwordspaceon
 
 \begin{description}
 \item[\TeX{} Web Resources] The web page

Modified: branches/stable/tests/38-interword-space-at-font-switch/from-latex-tagged-pdf/arXiv-2401.05361v1.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/from-latex-tagged-pdf/arXiv-2401.05361v1.tex	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/from-latex-tagged-pdf/arXiv-2401.05361v1.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -36,7 +36,12 @@
 \author{Herbert Batte$^{1,*} $}
 \date{}
 
+\usepackage{microtype}
 \begin{document}
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
+\pdfinterwordspaceon
+
 \maketitle
 \abstract{ Let $ \{L_n\}_{n\geq 0} $ be the sequence of Lucas numbers. In this paper, we determine all Lucas numbers that are palindromic concatenations of two distinct repdigits. } 
 
@@ -689,4 +694,4 @@
 print("Maximum ep across all combinations:", max_ep)
 print("Maximum log_expr_a across all combinations:", max_log_expr_a)	
 \end{verbatim}	
-\end{document}
\ No newline at end of file
+\end{document}

Modified: branches/stable/tests/38-interword-space-at-font-switch/sample2e.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/sample2e.tex	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/sample2e.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -4,7 +4,6 @@
 % and is used for comments like this one.
 
 \documentclass{article}      % Specifies the document class
-\usepackage{microtype}
 
                              % The preamble begins here.
 \title{An Example Document}  % Declares the document's title.
@@ -19,7 +18,8 @@
                              % This is an alternative definition of
                              % \ip that is commented out.
 
-\begin{document}             % End of preamble and beginning of text.
+\usepackage{microtype}
+\begin{document}
 \pdfcompresslevel=0
 \pdfobjcompresslevel=0
 \pdfinterwordspaceon

Modified: branches/stable/tests/38-interword-space-at-font-switch/texlive-en.tex
===================================================================
--- branches/stable/tests/38-interword-space-at-font-switch/texlive-en.tex	2025-02-17 08:42:58 UTC (rev 955)
+++ branches/stable/tests/38-interword-space-at-font-switch/texlive-en.tex	2025-02-17 08:44:00 UTC (rev 956)
@@ -24,6 +24,7 @@
 \pdfcompresslevel=0
 \pdfobjcompresslevel=0
 \pdfinterwordspaceon
+
 \maketitle
 
 \begin{multicols}{2}



More information about the pdftex-commits mailing list.