Is there an option in PDFLaTeX to throw error/warning if any hidden text found in the output PDF that goes outside text area or clashes with the text inside the textarea as shown in the picture with red box.
\documentclass{book}
\usepackage{graphicx}
\begin{document}
This is the sample to find hidden text. This is the sample to find hidden text. This is the sample to find hidden text.This is the sample to find hidden text.
\begin{figure}
\includegraphics{tri.pdf}
\end{figure}
This is the sample to find hidden text. This is the sample to find hidden text. This is the sample to find hidden text.This is the sample to find hidden text.
\end{document}
Download: Tri.pdf https://we.tl/t-uqOUR0bxxk

tri.pdf. And it isn't at all obvious to me, at least, what connection that input has to the output shown. Nothing is getting hidden. – cfr Nov 25 '23 at 04:40