[dvipdfmx] pdf:ann and rotation

Alexander Grahn A.Grahn at web.de
Mon May 6 18:06:28 CEST 2019


Hello all,

this is somewhat related to the issue reported recently on the tex-live list
regarding pdf:dest under rotation. (Thank you, Shunsaku, for taking care of
it.)

Now it is about creating pdf annotations with the pdf:ann special.

Again, the box coordinates (/Rect [<bbox>] entry) that define the
sensitive Link area are not correctly set under rotation, such as in a
`\rotatebox{90}{...}' or on a landscape page.

I would be glad if this could be fixed too.

Thank you and kind regards,
Alexander

Here is some input for testing:

  \documentclass{article}
  
  \usepackage{lscape}
  
  \begin{document}
  This is an Annotation:\special{pdf:ann
    @ctan1 width 50pt height 10pt depth 5pt <</Subtype/Link /A <<
      /S/URI /URI (https://ctan.org)
    >>>>}\hspace{50pt}$\leftarrow$.\\[10ex] 
  
  This is a rotated Annotation:\rotatebox{90}{\special{pdf:ann
    @ctan2 width 50pt height 10pt depth 5pt <</Subtype/Link /A <<
      /S/URI /URI (https://ctan.org)
    >>>>}\hspace{50pt}$\leftarrow$}.
  
  \begin{landscape}
  This is an Annotation:\special{pdf:ann
    @ctan3 width 50pt height 10pt depth 5pt <</Subtype/Link /A <<
      /S/URI /URI (https://ctan.org)
    >>>>}\hspace{50pt}$\leftarrow$.
  \end{landscape}
  \end{document} 


More information about the dvipdfmx mailing list