In PDF.js, how do you hide the canvas and display the underlying text at full opacity?
问题 When PDF.js processes a PDF to HTML5, it lays a <canvas> over all the <div> elements containing the text. This canvas is a proper render of the PDF, while the text underneath is quite rough (but sufficient for certain purposes such as searching for words). Using the PDF.js demo page, I can make the underlying text visible by: Deleting the <canvas> element. Disabling the color: transparent property on the .textLayer class, which acts upon the underlying text. ... However, the text remains low