-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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 rendering error #18310
Comments
If this happens with every PDF it's most likely an issue in the browser and not in PDF.js, so it'll likely not be possible to fix it here. Could you try starting Firefox with a fresh profile, see https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings, since this could be caused by e.g. browser settings that are different from the defaults? Otherwise, please try updating graphics drivers or toggling hardware acceleration as those can also be causes of rendering defects. |
This happens to me too. One thing I noticed though is it starts happening after I've had Firefox running for a while. For example, yesterday I couldn't open a single PDF. Every single one just would render a black screen with blue boxes where text or input fields were. Then this morning I closed the browser and reopened, and now I can see all of those same PDFs. I'll update this comment with a screenshot once it starts happening again. I'm running |
I had this same issue and can confirm that restarting Firefox fixed it for me. All PDFs were having these rendering artifacts just like the screenshots above (various manuals, a paper from Arxiv, documents from my health provider). Browser: 126.0.1 (what I first upgraded to) / 127.0 (current) Is it possible that I was on an older version and restarting updated it? I did another system upgrade and that didn't seem to harm anything. I'll report back if it starts happening again. |
You should file a bug in Firefox itself: https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Graphics%3A%20Canvas2D. |
Attach (recommended) or Link to PDF file here:
Happens wit all the PDFs.
Configuration:
[Problem was
RELEASE=20.1
CODENAME=ulyssa
EDITION="MATE"
DESCRIPTION="Linux Mint 20.1 Ulyssa"
DESKTOP=Gnome
TOOLKIT=GTK
PDF.js version: 4.3.8 [c419c83]
Is a browser extension: No
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
White background, legible fonts.
What went wrong? (add screenshot)
![Screenshot at 2024-06-20 22-06-48](https://private-user-images.githubusercontent.com/4572205/341614348-47b413a0-fc9e-40d8-9a5f-d4643d74c7f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzOTcxODgsIm5iZiI6MTcyMTM5Njg4OCwicGF0aCI6Ii80NTcyMjA1LzM0MTYxNDM0OC00N2I0MTNhMC1mYzllLTQwZDgtOWE1Zi1kNDY0M2Q3NGM3ZjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTlUMTM0ODA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjEyOTRhZjNkYTM3ODE0MWQ2ZTM4Y2JiZGIzOGRiYTNlYzFjYjA3ODgzZDZlMGRhZjQ2MDcyYjIyZGY2ZmY4MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.g7fYAm4Oxo7iApLinNq6vUDYps1z2JwnfIrqOrfzP2c)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
The text was updated successfully, but these errors were encountered: