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

Printing looks different after cleanup #5006

Closed
CodingFabian opened this issue Jun 25, 2014 · 5 comments
Closed

Printing looks different after cleanup #5006

CodingFabian opened this issue Jun 25, 2014 · 5 comments
Labels

Comments

@CodingFabian
Copy link
Contributor

can be at least reproduced with several PDFs on FF 32a on my Mac .

Load the PDF, print (to pdf) - the PDF will look good quite identical.

Reload
Load the same PDF, wait 45 seconds, print (to pdf) - the PDF will look different. In most cases fonts which were bold are no longer bold.

one example: http://www.postgis.us/downloads/postgis21_cheatsheet.pdf

@timvandermeij
Copy link
Contributor

I can reproduce this using Windows 7 x64, Firefox Nightly 33.0a1 (64-bit, HWA on) and the latest PDF.js development version.

@CodingFabian
Copy link
Contributor Author

this might even be a firefox bug. what i can see is that the canvas.context font is set correctly, but the requested font is not used when setting the text.

@CodingFabian
Copy link
Contributor Author

just to add: cleanup is not the root cause. If we would not render any page to the screen, the font would be broken as well.
If cleanup would not happen the font would work because it comes from the cache.

@SailorMax
Copy link

Evidence: built-in Firefox viewer (looks like modified) has no this problem.
Tested on Firefox 46.0.1 (with built-in viewer 1.3.231)

@timvandermeij
Copy link
Contributor

Closing as (most likely) fixed by #7694.

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

4 participants