vscode-markdown-pdf icon indicating copy to clipboard operation
vscode-markdown-pdf copied to clipboard

Text copied from exported PDF is reversed

Open CostachescuCristinel opened this issue 2 years ago • 2 comments

All of the PDF files exported through this extension sport the same issue:
Text copied from the PDF, when pasting it elsewhere, is pasted in reverse. This affects both the order of the characters and the order of the paragraphs/headings.

Example:

# Hello, world!

This is an example paragraph.

Exported as PDF: example.pdf

When pasting the contents copied:

.hpargarap elpmaxe na si sihT
!dlrow ,olleH

The issue also happens when exporting to HTML and printing to PDF using Google Chrome's "Print to PDF" feature.

I would greatly appreciate a fix, or any workaround...

Environment:

  • OS: MacOS Ventura (13.3.1)
  • VSCode: 1.79.1 (Universal)
  • Markdown PDF: 1.4.4
  • PDF Viewer: MacOS's default app (Pages)

CostachescuCristinel avatar Jun 14 '23 12:06 CostachescuCristinel

I also have the same issue. And it's reproduced only with MacOS's previewer

Diadlo avatar Oct 20 '23 07:10 Diadlo

Seems duplicate of https://github.com/yzane/vscode-markdown-pdf/issues/100

Diadlo avatar Oct 20 '23 08:10 Diadlo