sawhney17 / logseq-pdf-export

MIT License
113 stars 7 forks source link

pdf with printing to pdf cannot copy text from it #27

Open lee88688 opened 2 years ago

lee88688 commented 2 years ago

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

acsr commented 1 year ago

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

lee88688 commented 1 year ago

OS: windows 10 x64

sebastian-muthwill commented 1 year ago

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.

ard0gg commented 1 year ago

I am also on Win 10 x64 and see this behavior

sdasda7777 commented 10 months ago

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 commented 10 months ago

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?