[dvipdfmx] pdf:ann and rotation

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Tue May 7 07:57:41 CEST 2019


Hi Alexander,

I initially considered width and height values should not be affected
by user space transformation for annotations created by pdf:ann,
but now I think such implementation is inconvenient.

I’ll consider fixing it.
I will do that within a week.

Thanks,
Shunsaku Hirata

2019-05-07 1:06 GMT+09:00, Alexander Grahn <A.Grahn at web.de>:
> 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