View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000770 | luatex | luatex bug | public | 2012-09-13 10:09 | 2015-11-03 09:27 |
Reporter | denisbitouze | Assigned To | Hans Hagen | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.70.1 | ||||
Fixed in Version | 0.85.0 | ||||
Summary | 0000770: Hyperlinks wrongly placed if rotated or in landscape mode | ||||
Description | Hyperlinks are wrongly placed if rotated or in landscape mode: they are not on the text but at the end of the (vertical) "line" | ||||
Steps To Reproduce | Compile with lualatex the following MCE: \documentclass{article} \usepackage{graphicx} \usepackage{hyperref} \begin{document} \begin{landscape} \href{http://www.luatex.org/}{LuaTeX home page} \end{landscape} \newpage \rotatebox{90}{\href{http://www.luatex.org/}{LuaTeX home page}} \end{document} | ||||
Tags | No tags attached. | ||||
|
The problem comes from \pdfstartlink ... \pdfendlink, as can be seen by using: \pdfstartlink user {/Subtype/Link /A << /Type/Action /S/URI /URI(http://www.luatex.org) >> } LuaTeX \pdfendlink |
|
most likely not a luatex issue but a latex issue: either the macro package must take scaling into acount, or it should use the matrix primitives to pass that info to the engine |
|
It is *not* a LaTeX or macro package issue. The following file for iniTeX works without macros. The result is correct for pdfTeX, but the link area is not correct for LuaTeX: \catcode`\{=1 \catcode`\}=2 \ifx\directlua\undefined \else \directlua{tex.enableprimitives('',tex.extraprimitives())} \fi \pdfoutput=1 \pdfobjcompresslevel=0 \pdfcompresslevel=0 \pdfhorigin=0pt \pdfvorigin=0pt \pdflinkmargin=2bp \font\myfont=cmr12\relax \myfont \setbox0=\hbox{% A % \hbox{% \pdfstartlink attr{% /Border[0 0 2]% /H/I% /C[1 0 0]% } user{% /Subtype/Link% /A<<% /Type/Action% /S/URI% /URI(http://www.luatex.org/)% >>% }% LuaTeX% \pdfendlink } link% } \wd0=0pt \ht0=0pt \dp0=0pt \pdfpageheight=100mm \pdfpagewidth=50mm \shipout\vbox to \pdfpageheight{% \hsize=\pdfpagewidth \vfill \hbox{% \kern10mm % \pdfsave \pdfsetmatrix{0 1 -1 0}% \copy0 % \pdfrestore }% \vfill } \csname @@end\endcsname\end |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-09-13 10:09 | denisbitouze | New Issue | |
2012-11-05 06:59 | Paul Isambert | Note Added: 0000973 | |
2013-07-03 09:48 | Hans Hagen | Note Added: 0001103 | |
2014-01-21 01:26 | oberdiek | Note Added: 0001220 | |
2015-11-03 09:26 | Hans Hagen | Assigned To | => Hans Hagen |
2015-11-03 09:26 | Hans Hagen | Status | new => assigned |
2015-11-03 09:27 | Hans Hagen | Status | assigned => closed |
2015-11-03 09:27 | Hans Hagen | Resolution | open => fixed |
2015-11-03 09:27 | Hans Hagen | Fixed in Version | => 0.85.0 |