<div>Hi,<br></div><div><br></div><div>I recently switched from LaTeX to XeLaTeX and am currently writing the first document with the whole linking stuff (hyperlinks from one page to another) within. Part of this is a table of contents. This was when I noticed this:<br></div><div><img src="cid:b94ed7db@protonmail.com" alt="2021-01-03_01-24.png" class="proton-embedded"><br></div><div>(with pdflatex)<br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>while with xelatex it looks like this<br></div><div><img src="cid:b03bf768@protonmail.com" alt="2021-01-03_01-25.png" class="proton-embedded"><br></div><div><br></div><div>since the latter doesn't look so nice, I tried to reduce the size of that boxes and when I found (with the help of tex.stackexchange <a href="https://tex.stackexchange.com/questions/577314/xelatex-hyperref-bounding-box">https://tex.stackexchange.com/questions/577314/xelatex-hyperref-bounding-box</a>) the hyperref option pdflinkmargin which I set to a negative value.<br></div><div>This results in an appearance like this (with pdflinkmargin=-1pt)<br></div><div><img src="cid:618507c7@protonmail.com" alt="2021-01-11_23-05.png" class="proton-embedded"><br></div><div>which I think looks ok (not nice but ok).<br></div><div><br></div><div>The trouble I still have with this solution is that links to e.g. footnotes look like this<br></div><div><img src="cid:5d0cfb6e@protonmail.com" alt="2021-01-11_23-07.png" class="proton-embedded"><br></div><div><br></div><div>Since (like it can be seen on tex.stackexchange) someone gave me the hint that maybe someone on this mailing list might know something regarding this problem,  the big question for me is, is there a way to get results like with "plain" LaTeX? Or is there a way to reduce the horizontal and/or vertical pdflinkmargin separately?<br></div><div><br></div><div>With kind regards<br></div>