Skip to content
New issue

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

Pdf to svg garbled #9864

Closed
xxh950501 opened this issue Jul 2, 2018 · 1 comment
Closed

Pdf to svg garbled #9864

xxh950501 opened this issue Jul 2, 2018 · 1 comment
Labels

Comments

@xxh950501
Copy link

Attach (recommended) or Link to PDF file here:
wi6tugwkh4o-1530346012584.pdf

Configuration:

  • Web browser and its version:
    Google Chrome 67.0.3396.99
  • Operating system and its version:
    window 10
  • PDF.js version:
    The latest version

Steps to reproduce the problem:

  1. Download the source code in github
  2. Run the source code locally using webstrom, change the pdf path in examples/svgviewer/viewer.js in the source code, as shown in the figure
    image

What is the expected behavior? (add screenshot)
Convert to svg to display properly in browser
What went wrong? (add screenshot)
Garbled characters appear in the browser after conversion, but it is not garbled to open pdf locally.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

@Snuffleupagus
Copy link
Collaborator

Works for me, using the latest version of the example as found at /~https://github.com/mozilla/pdf.js/tree/master/examples/svgviewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants