Link not coming as clickable in generated pdf. #5004
Comments
New test case,
|
I seem to recall that there were a number of reports of PDF links having only a small clickable area, e.g., the bottom 10% of what you would expect to be the clickable area. You might check if your reported problem is the same as this, or if you actually have no clickable area on the link. Unfortunately, I don't think this was ever fixed, but maybe there were some workarounds. |
@PhilterPaper, I didn't find any area to be clicked but. |
Can you try after removing "'-B' '50' '-T' '110mm'"? |
@rkrathor a workaround for footers that I found to be working with the newest release was: Some Text wihtout meaning <a href="https://creativecommons.org/licenses/by/4.0/" style="display: block; position: absolute; height: 1em; top: 3em; text-decoration: none; width: 500px"> </a>- Licensed under CC-BY 4.0 This makes the whole footer region with at least the link clickable. Might also work in main body. But this workaround is not from me but a combination of workarounds from the original issue about link field sizes in footers (can't find it right now). If you found the footer/ header thread you might also be able to test different workarounds |
Also, possible duplicate of #4993 |
Actually for me the Top margin was pushing the clickable portion of the link by that much (the footer link working as if there's no margin). |
wkhtmltopdf version(s) affected: 0.12.6
OS information
Ubuntu 18.04.5 LTS (Bionic Beaver)
Description
IF any I am using any link in it not working or showing like a link in PDF.
How to reproduce
Expected behavior
Current outpur
It only coming as text and non clickable in the pdf.
it should come as clickable link and should redirect to given link.
Thanks you.
The text was updated successfully, but these errors were encountered: