astefanutti / decktape

PDF exporter for HTML presentations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exported PDF has space when a line wraps

antmarge opened this issue · comments

I have a PDF with a line (a long link) that wraps to a new line. If copied from the browser slides, the link pastes as expected. However, in the exported PDF from deck tape, when the link is copied and pasted, it includes a space where the line wrapped.

Attached is a zip file with an example html file and the resulting pdf upon export with decktape.
decktape <output.pdf>

Any idea what's going on and how to fix it? Thank you!

badlink_example.zip

What PDF reader do you use?

It seems the presentation doesn't actually contain a link, but readers, like Mac OS Preview, automatically add a link. I've tried with Preview, and the link indeed contains an extra space. So I'd rather think it's an issue with some readers, that do not handle wrapping links correctly.

Let me close this. Feel free to re-open if needed.