You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attach (recommended) or Link to PDF file here:
Using the demo PDF on the pdf.js website
Configuration:
Chromium Version 79.0.3945.130 (Developer Build) built on Debian 10.2, running on Debian 10.2 (64-bit)
Operating system and its version: Debian Buster running in the ChromeOS Linux default container ("Crostini")
PDF.js version: whatever version the demo on the PDF.js web page uses
Is a browser extension: NO
Steps to reproduce the problem:
Go to the PDF.js webpage
Click "Demo"
What is the expected behavior? (add screenshot)
PDF is displayed correctly
What went wrong? (add screenshot)
Most characters are simply not displayed.
Comments: I originally found out about this problem using the VScode LaTeX Workshop extension, which uses pdf.js to display PDF files produced by LaTeX. I was having the same issue with my own files---most characters just were not displayed. However, as shown above, the exact same behavior occurs when running a browser under Crostini.
If I instead visit the pdf.js website using Chrome, NOT within the Crostini container but under "regular" ChromeOS, everything works perfectly.
The text was updated successfully, but these errors were encountered:
This does look more like a <canvas> and/or Font loading bug in the platform/browser itself, rather than a general PDF.js library issue (since otherwise you'd expect it to be broken everywhere).
Hm. Interesting. Indeed things seem to work using Firefox-esr (68.4.1esr 64-bit). See attached screenshot. So this seems to be a Chromium-on-Crostini-specific issue. As I mentioned in the original message, the issue dues not arise with the standard Chrome browser in ChromeOS . It does however arise with Chromium 79, and with the Chromium engine built into VSCode.
Attach (recommended) or Link to PDF file here:
Using the demo PDF on the pdf.js website
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
PDF is displayed correctly
What went wrong? (add screenshot)
Most characters are simply not displayed.
Comments: I originally found out about this problem using the VScode LaTeX Workshop extension, which uses pdf.js to display PDF files produced by LaTeX. I was having the same issue with my own files---most characters just were not displayed. However, as shown above, the exact same behavior occurs when running a browser under Crostini.
If I instead visit the pdf.js website using Chrome, NOT within the Crostini container but under "regular" ChromeOS, everything works perfectly.
The text was updated successfully, but these errors were encountered: