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

Any fonts are not rendered in node, it works with images only #10327

Closed
kvvsatyasunil opened this issue Dec 4, 2018 · 1 comment
Closed

Any fonts are not rendered in node, it works with images only #10327

kvvsatyasunil opened this issue Dec 4, 2018 · 1 comment

Comments

@kvvsatyasunil
Copy link

Attach (recommended) or Link to PDF file h
Test PDF Scenario.pdf
pdf2png.zip
output

  • PDF.js version:
    "pdfjs-dist": "^2.0.943"
    "assert": "^1.4.1",
    "canvas": "^2.1.0"

What is the expected behavior? (add screenshot)

  1. Have attache code to generate PNG file from PDF file.
  2. it render only image, not text.

What went wrong?
output.png file doesn't contain text.

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

Duplicate of #4244.

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

No branches or pull requests

3 participants