The problem of blurred display of pdf.js on iOS side

in h5, I have a requirement to display pdf files on mobile. I use the pdf.js method, and the framework uses the actual effect of angularjs,. There is no problem on Android, and the display on iOS is very blurred. Is there a solution?
Android end effect:

ios:

of course, both of them use the same code. How to solve the problem of ambiguity on ios


window.devicePixelRatio
can be searched. Or look at the source code.
related to canvas drawing


I just found a problem when I looked at the source code. Thank you. The reason is that there is a problem when using angularjs to encapsulate pdf instructions

.
Menu