We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attach (recommended) or Link to PDF file here:
dummy.pdf
Configuration:
Steps to reproduce the problem:
https://codesandbox.io/s/pdfjs-rtl-container-cwtt6
dir="rtl"
It's easily fixed by adding canvas.setAttribute("dir", "ltr");, but I'm really not sure how this would affect RTL PDFs.
canvas.setAttribute("dir", "ltr");
Original React-PDF bug for reference: wojtekmaj/react-pdf#588
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
The text was updated successfully, but these errors were encountered:
Duplicate of #11457
It's easily fixed by adding canvas.setAttribute("dir", "ltr");
That's not a viable solution though, since the PDF.js library can be used in environments (such as Node.js) where that won't work; https://github.com/mozilla/pdf.js/tree/master/examples/node/pdf2png is one example.
Please note #11457 (comment)
Sorry, something went wrong.
Aside from the changes made in PR #11504 there doesn't appear to be anything else that we can do here unfortunately.
No branches or pull requests
Attach (recommended) or Link to PDF file here:
dummy.pdf
Configuration:
Steps to reproduce the problem:
https://codesandbox.io/s/pdfjs-rtl-container-cwtt6
dir="rtl"
It's easily fixed by adding
canvas.setAttribute("dir", "ltr");
, but I'm really not sure how this would affect RTL PDFs.Original React-PDF bug for reference: wojtekmaj/react-pdf#588
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
The text was updated successfully, but these errors were encountered: