Skip to content

Retain vectors and the fonts when rendering #6718

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

Closed
theoryshaw opened this issue Dec 3, 2015 · 2 comments
Closed

Retain vectors and the fonts when rendering #6718

theoryshaw opened this issue Dec 3, 2015 · 2 comments

Comments

@theoryshaw
Copy link

Appears PDF.js rasterizes a vector-based PDF.

Is there a way, to retain the vectors and the fonts when rendering?

example file: https://www.dropbox.com/s/mpcoiaoeud5f4al/XSC%20-%20Drawings.pdf?dl=0

@yurydelendik
Copy link
Contributor

The PDF.js paints everything on canvas (however we set limitation on size of the canvas). Since you did not provide enough details about the issue, I assuming you are talking about the page picture looking rasterized at large zoom (for letter/a4 size page it happens at about 400%) -- that where we stop repainting and using CSS zoom.

Closing as answered and duplicate of #6419.

If you are interested in general about PDF.js ability to respresent information as vector graphics, see our work-in-progress at https://github.com/mozilla/pdf.js/tree/master/examples/svgviewer.

@theoryshaw
Copy link
Author

Thanks Yury!

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

2 participants