Groups
Groups
Sign in
Groups
Groups
mozilla.dev.pdf-js
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
PDF.js hello world example showing blurry text
1,046 views
Skip to first unread message
Liu Jian
unread,
May 6, 2014, 3:03:15 AM
5/6/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mozilla-d...@lists.mozilla.org
The same helloworld.pdf is blurry and fuzzy in helloworld/index.html, but sharp and clear in the viewer.html. Screen shot
http://yundoumiao.qiniudn.com/screenshot.png
OS X 10.9.2
Chrome 34.0.1847.131
PDF.js commit 68e57f2232d0772cabbc949aab4ae8decf9a4983
Anybody know why?
Thanks
Best regards
Yury Delendik
unread,
May 6, 2014, 11:07:15 AM
5/6/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Liu Jian
That's happening due to HiDPI/Retina display. You have to rescale the
canvas so it will match physical screen pixels. PDF.js viewer does
https://github.com/mozilla/pdf.js/blob/master/web/page_view.js#L503
Thanks.
0 new messages