mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.32k stars 9.97k forks source link

Blurred line and wrong text color from a PDF generated from Inkscape #4100

Open xavier114fch opened 10 years ago

xavier114fch commented 10 years ago

The PDF concerned: https://www.dropbox.com/s/h9j25sv71no8o74/bj-next.pdf

Issues:

Tested with pdf.js latest build on:

Appeared normally on Adobe Acrobat 11.0.5 and Okular 0.18.0 from KDE 4.12 on Windows and Linux respectively.

timvandermeij commented 10 years ago

Console output:

Warning: Unsupported feature "smask"

Marking as SMask issue.

timvandermeij commented 10 years ago

SMask issues have been fixed by #4161, but performance issues remain. Marking this issue as such.

timvandermeij commented 10 years ago

Performance has also improved a lot, though zooming performance can still be improved. The blurred line is also still there.

xavier114fch commented 10 years ago

Using the latest build got the graphics correct - slanted text background and the brown line is not blurred. The performance is still an issue as it displays quickly when it is set to Page Width, but will make browser freeze when I increase the zoom to 200%, with unresponsive script warning throwing up.

timvandermeij commented 10 years ago

Hm, strange, I still see the blurred line with the latest PDF.js version...

timvandermeij commented 10 years ago

@xavier114fch The Dropbox link is dead. Could you post a new one?

xavier114fch commented 10 years ago

There you are. https://www.dropbox.com/s/dr0dx3xaavdl3an/bj-next.pdf