我用插件pdf.js想在网页上直接显示PDF文件,PDF是显示出来了,但是字体却变得模糊了
pdf.js项目地址:https://github.com/mozilla/pd...
网页嵌入的代码
<embed src="../js/plugins/generic/web/viewer.html" name="frame" width="100%" height="100%"></embed>
显示效果:
![1477366807925832.png 1.png](https://img.php.cn//upload/image/456/545/151/1477366807925832.png)
原文件效果:
![1477366827289427.png 1.png](https://img.php.cn//upload/image/697/576/533/1477366827289427.png)
仔细看会发现字段变得模糊,全屏感觉没有那么明显,但是我是放在embed里面缩小的窗口,所以变得很明显
是chrome浏览器的问题。。。