Record pdfTeX margin behavior and capture checkpoint evidence

This commit is contained in:
gloamxun committed 2026-11-19 20:15:49 +08:00
1 parent ee22f25ee0
commit 11063c65dd
4 files changed
+93

No files matched your search

@@ -0,0 +1,28 @@
\pdfoutput=1
\pdfadjustspacing=0
\font\face=cmr10
\face
\lpcode\face`A=125
\rpcode\face`!=400
\spaceskip=3.33333pt
\rightskip=0pt plus 1fil
\emergencystretch=0pt
\parindent=0pt
\tolerance=100
\showboxbreadth=100
\showboxdepth=100
\tracingoutput=1
\setbox0=\hbox{A! B!}
\hsize=\wd0
\advance\hsize by -1pt
\def\shipprobe#1{%
\pdfprotrudechars=#1
\setbox0=\vbox{\noindent A! B!\par
\global\setbox2=\lastbox
\message{!margin-check:#1:[\leftmarginkern2]/[\rightmarginkern2]:end!}%
\box2}%
\shipout\box0}
\shipprobe0
\shipprobe1
\shipprobe2
\end