logseq-pdf-export icon indicating copy to clipboard operation
logseq-pdf-export copied to clipboard

pdf with printing to pdf cannot copy text from it

Open lee88688 opened this issue 2 years ago • 6 comments

when using printing to pdf, the text in pdf can't copy any more.

lee88688 avatar Jul 29 '22 08:07 lee88688

Cannot confirm this on macOS Monterey using Retain Formatting. Proper formatted RTF Text in Clipboard! Please specify environment

acsr avatar Feb 14 '23 19:02 acsr

OS: windows 10 x64

lee88688 avatar Feb 20 '23 01:02 lee88688

I can confirm. On Windows 10 x64 when I export page as PDF after clicking on the download button the standard Windows PDF print spooler is started. After creating the PDF the content can not be selected. Seems to be a picture instead of embedded content.

Same for Templates as well as retained text.

sebastian-muthwill avatar Apr 18 '23 14:04 sebastian-muthwill

I am also on Win 10 x64 and see this behavior

ard0gg avatar Sep 19 '23 19:09 ard0gg

This is an interesting one, because the same happens when using "Microsoft Print PDF" function in Chrome, but it doesn't happen in Firefox. I assume Logseq runs on Chromium, so the best way to fix this might be to open an issue with the Chromium project.

sdasda7777 avatar Jan 09 '24 10:01 sdasda7777

I'm not so sure what the issue might be anymore. It seems Firefox does embed the text sometimes when using "Microsoft Print to PDF", but not all the time. It was reported to Microsoft a long time ago, but hard to tell if it's really their issue or just browsers not using the API properly. Would it maybe be possible for Logseq devs to make the standard Chrome dialog (which has the "Save to PDF" option, which works correctly) available?

sdasda7777 avatar Jan 22 '24 08:01 sdasda7777