Using the pdfcomment
package to create an interactive tooltip when hovering over an image can be created with:
\usepackage{pdfcomment}
\pdftooltip{\includegraphics{img.png}}{This is the ALT text}
However this causes interference with my downstream PDF processor which adds another annotation onto this area. The tooltip catches mouse events and prevents expected operation.
If I use the [disable]
option, the tooltip appears to be hidden, but actually the entire tooltip annotation object is absent from the PDF content stream.
Q: How can I use the pdftooltip
, but set it to the 'hidden' state please?
I need it to be present in the PDF, but inactive and not catching any mouse events.