yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

Text copied from exported PDF is reversed #324

Open CostachescuCristinel opened 1 year ago

CostachescuCristinel commented 1 year ago

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:

Diadlo commented 1 year ago

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

Diadlo commented 1 year ago

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